Class: Itsf::Backend::DashboardController

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

Instance Method Summary collapse

Methods included from Controller::BreadcrumbsConcern

#breadcrumbs, #breadcrumbs!

Methods included from Controller::PunditNamespacedAuthorizeConcern

#authorize, #engine_policy

Instance Method Details

#indexObject



19
20
21
# File 'app/controllers/itsf/backend/dashboard_controller.rb', line 19

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