Class: Tramway::Admin::WelcomeController

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

Instance Method Summary collapse

Methods included from RecordRoutesHelper

#edit_record_path, #new_record_path, #record_path, #records_path

Instance Method Details

#indexObject



6
7
8
# File 'app/controllers/tramway/admin/welcome_controller.rb', line 6

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