diff options
| author | Zog | 2018-03-29 14:38:45 +0200 | 
|---|---|---|
| committer | Zog | 2018-03-29 14:38:45 +0200 | 
| commit | ef01bea2bef74358e3df3e74cc613d664a9a554d (patch) | |
| tree | 19b375858b37645754198c048841458621d23737 /app/controllers/application_controller.rb | |
| parent | 1019debe93d776f0d38ae69099e6492a7dd4a87c (diff) | |
| download | chouette-core-ef01bea2bef74358e3df3e74cc613d664a9a554d.tar.bz2 | |
Refs #4658; Remove `current_functional_scope`
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 6 | 
1 files changed, 0 insertions, 6 deletions
| 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 | 
