Commit eef9c9d4 authored by James Lopez's avatar James Lopez

update fix based on feedback

parent d6a18613
...@@ -81,8 +81,7 @@ class GroupsController < Groups::ApplicationController ...@@ -81,8 +81,7 @@ class GroupsController < Groups::ApplicationController
def group def group
@group ||= Group.find_by(path: params[:id]) @group ||= Group.find_by(path: params[:id])
return @group if @group @group || render_404
render_404
end end
def load_projects def load_projects
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment