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

#set_locale, #set_requester

Methods included from ResponderInterface

#respond_with_action, #respond_with_http, #respond_with_json, #respond_with_json_not_found, #respond_with_json_unauthorized, #respond_with_lesli, #respond_with_not_found, #respond_with_pagination, #respond_with_unauthorized, #stream_redirection

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