Class: Tramway::WelcomeController

Inherits:
ApplicationController show all
Includes:
AuthManagement
Defined in:
app/controllers/tramway/welcome_controller.rb

Instance Method Summary collapse

Methods included from AuthManagement

#authenticate_user!, #current_user, #sign_in, #sign_out, #signed_in?

Methods included from RecordRoutesHelper

#edit_record_path, #new_record_path, #record_path, #records_path

Methods included from Filtering

#date_filter, #filtering, #list_filtering, #list_filtering_dates, #list_filtering_select

Methods included from ClassNameHelpers

#decorator_class_name, #form_class_name, #model_class_name

Instance Method Details

#indexObject



14
15
16
# File 'app/controllers/tramway/welcome_controller.rb', line 14

def index
  instance_exec(&::Tramway.welcome_page_actions) if ::Tramway.welcome_page_actions.present?
end