From f05469f99b8c52c4dab7ac9160b47676c87124f9 Mon Sep 17 00:00:00 2001 From: Michael Kozono Date: Thu, 4 May 2017 17:06:01 -0700 Subject: Resolve discussions --- app/controllers/groups/application_controller.rb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'app/controllers/groups/application_controller.rb') diff --git a/app/controllers/groups/application_controller.rb b/app/controllers/groups/application_controller.rb index 2157a56dea2..afffb813b44 100644 --- a/app/controllers/groups/application_controller.rb +++ b/app/controllers/groups/application_controller.rb @@ -9,11 +9,7 @@ class Groups::ApplicationController < ApplicationController private def group - @group ||= find_routable!(Group, requested_full_path) - end - - def requested_full_path - params[:group_id] || params[:id] + @group ||= find_routable!(Group, params[:group_id] || params[:id]) end def group_projects -- cgit v1.2.3