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
@group ||= Group.find_by(path: params[:id])
return @group if @group
render_404
@group || render_404
end
def load_projects