update fix based on feedback

This commit is contained in:
James Lopez 2016-01-27 10:44:24 +01:00
parent d6a186135f
commit eef9c9d447
1 changed files with 1 additions and 2 deletions

View File

@ -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