diff options
author | James Lopez <james@jameslopez.es> | 2016-01-26 12:16:47 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-01-26 12:16:47 +0100 |
commit | 89aeed183ccbadc9580945a68b8df83f50856c2c (patch) | |
tree | 46838271c51f28a26522b568f0349c81f40dbe82 /app/controllers/groups_controller.rb | |
parent | eb7f669073b2b95a1956de5e22f97dc8f83711e8 (diff) | |
download | gitlab-ce-89aeed183ccbadc9580945a68b8df83f50856c2c.tar.gz |
feature and fix for 500 on group missing
Diffstat (limited to 'app/controllers/groups_controller.rb')
-rw-r--r-- | app/controllers/groups_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index fb26a4e6fc3..828e5509262 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -81,6 +81,7 @@ class GroupsController < Groups::ApplicationController def group @group ||= Group.find_by(path: params[:id]) + render_404 unless @group end def load_projects |