Class: Itsf::Backend::DashboardController

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

Instance Method Summary collapse

Methods included from Controller::PunditNamespacedAuthorizeConcern

#authorize, #engine_policy

Instance Method Details

#indexObject



17
18
19
# File 'app/controllers/itsf/backend/dashboard_controller.rb', line 17

def index
  authorize :dashboard, :access?, self.class.name.deconstantize
end