update fix based on feedback
This commit is contained in:
parent
d6a186135f
commit
eef9c9d447
|
@ -81,8 +81,7 @@ class GroupsController < Groups::ApplicationController
|
|||
|
||||
def group
|
||||
@group ||= Group.find_by(path: params[:id])
|
||||
return @group if @group
|
||||
render_404
|
||||
@group || render_404
|
||||
end
|
||||
|
||||
def load_projects
|
||||
|
|
Loading…
Reference in New Issue