Class: Itsf::Backend::HomeController

Inherits:
Object
  • Object
show all
Includes:
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::PunditNamespacedAuthorizeConcern

#authorize, #engine_policy

Class Method Details

.engineObject



27
28
29
# File 'app/controllers/itsf/backend/home_controller.rb', line 27

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

Instance Method Details

#engineObject



31
32
33
# File 'app/controllers/itsf/backend/home_controller.rb', line 31

def engine
  self.class.engine
end

#indexObject



7
8
# File 'app/controllers/itsf/backend/home_controller.rb', line 7

def index
end