Class: Itsf::Backend::HomeController

Inherits:
Object
  • Object
show all
Includes:
Controller::BreadcrumbsConcern, Controller::CurrentEngineConcern, Controller::PunditAuthorizationFailureHandlingConcern, Controller::PunditNamespacedAuthorizeConcern, Pundit
Defined in:
app/controllers/itsf/backend/home_controller.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Controller::BreadcrumbsConcern

#breadcrumbs, #breadcrumbs!

Methods included from Controller::PunditNamespacedAuthorizeConcern

#authorize, #engine_policy

Class Method Details

.engineObject



29
30
31
# File 'app/controllers/itsf/backend/home_controller.rb', line 29

def self.engine
  "#{name.deconstantize}::Engine".constantize
end

Instance Method Details

#engineObject



33
34
35
# File 'app/controllers/itsf/backend/home_controller.rb', line 33

def engine
  self.class.engine
end

#indexObject



9
10
# File 'app/controllers/itsf/backend/home_controller.rb', line 9

def index
end