Class: Tramway::Core::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/tramway/core/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#applicationObject



9
10
11
# File 'app/controllers/tramway/core/application_controller.rb', line 9

def application
  @application = ::Tramway::Core.application_object
end

#load_extensionsObject



13
14
15
# File 'app/controllers/tramway/core/application_controller.rb', line 13

def load_extensions
  ::Tramway::Extensions.load if defined? ::Tramway::Extensions
end