update fix based on feedback
This commit is contained in:
parent
d6a186135f
commit
eef9c9d447
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue