Module: Tramway::Auth::ApplicationHelper
- Includes:
- FontAwesome5::Rails::IconHelper, Tramway::Admin::CasesHelper, Tramway::Admin::NavbarHelper, Tramway::Admin::RussianCasesHelper, Tramway::AuthManagement, Core::TitleHelper
- Defined in:
- app/helpers/tramway/auth/application_helper.rb
Instance Method Summary collapse
Methods included from Tramway::AuthManagement
#authenticate_user!, #current_user, #sign_in, #sign_out, #signed_in?
Instance Method Details
#decorator_class(model_name = nil) ⇒ Object
13 14 15 |
# File 'app/helpers/tramway/auth/application_helper.rb', line 13 def decorator_class(model_name = nil) "#{model_name || model_class}Decorator".constantize end |