Class: Lesli::ApplicationDeviseController

Inherits:
ApplicationController show all
Includes:
RequesterInterface, ResponderInterface, LesliAudit::LoggerInterface
Defined in:
app/controllers/lesli/application_devise_controller.rb

Instance Attribute Summary

Attributes inherited from ApplicationController

#engine_path, #query

Instance Method Summary collapse

Methods included from RequesterInterface

#get_user_agent, #set_locale, #set_path, #set_requester

Methods included from ResponderInterface

#respond_as_pagination, #respond_as_successful, #respond_with_action, #respond_with_error, #respond_with_http, #respond_with_not_found, #respond_with_pagination, #respond_with_successful, #respond_with_unauthorized

Methods inherited from ApplicationController

#language

Constructor Details

#initializeApplicationDeviseController

before_action :set_locale_public



43
44
45
46
47
48
49
50
# File 'app/controllers/lesli/application_devise_controller.rb', line 43

def initialize
    @lesli = { 
        company: {
            name: Lesli.config.company[:name]
        }
    }
    super
end