Class: ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
Concerns::Auth, Concerns::FoodcoopScope, Concerns::Locale, PathHelper
Defined in:
app/controllers/application_controller.rb

Class Method Summary collapse

Methods included from PathHelper

#finance_group_transactions_path

Class Method Details

.currentObject

Returns the controller handling the current request.



15
16
17
# File 'app/controllers/application_controller.rb', line 15

def self.current
  Thread.current[:application_controller]
end