From ef01bea2bef74358e3df3e74cc613d664a9a554d Mon Sep 17 00:00:00 2001 From: Zog Date: Thu, 29 Mar 2018 14:38:45 +0200 Subject: Refs #4658; Remove `current_functional_scope` --- app/controllers/application_controller.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app/controllers/application_controller.rb') diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c4961123d..9a83394e2 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -36,12 +36,6 @@ class ApplicationController < ActionController::Base end helper_method :current_organisation - def current_functional_scope - functional_scope = current_organisation.sso_attributes.try(:[], "functional_scope") if current_organisation - JSON.parse(functional_scope) if functional_scope - end - helper_method :current_functional_scope - def collection_name self.class.name.split("::").last.gsub('Controller', '').underscore end -- cgit v1.2.3