diff options
-rw-r--r-- | app/controllers/groups_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index 828e5509262..f7c6607aff7 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -81,7 +81,8 @@ class GroupsController < Groups::ApplicationController def group @group ||= Group.find_by(path: params[:id]) - render_404 unless @group + return @group if @group + render_404 end def load_projects |