Commit d6a18613 authored by James Lopez's avatar James Lopez

fix for failing spec

parent 89aeed18
...@@ -81,7 +81,8 @@ class GroupsController < Groups::ApplicationController ...@@ -81,7 +81,8 @@ class GroupsController < Groups::ApplicationController
def group def group
@group ||= Group.find_by(path: params[:id]) @group ||= Group.find_by(path: params[:id])
render_404 unless @group return @group if @group
render_404
end end
def load_projects def load_projects
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment