Class: Service::BaseController
- Inherits:
-
Object
- Object
- Service::BaseController
- Includes:
- Controller::BreadcrumbsConcern, Controller::CurrentEngineConcern, Controller::FeatureFlagsConcern, Controller::JsonApiConcern, Controller::PunditAuthorizationFailureHandlingConcern, Controller::PunditNamespacedAuthorizeConcern, Controller::ServiceActionsConcern, Controller::ServiceInflectionsConcern, Controller::ServiceUrlsConcern, Pundit
- Defined in:
- app/controllers/itsf/backend/service/base_controller.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Controller::BreadcrumbsConcern
Methods included from Controller::PunditNamespacedAuthorizeConcern
Class Method Details
.service_class ⇒ Object
27 28 29 |
# File 'app/controllers/itsf/backend/service/base_controller.rb', line 27 def self.service_class name.gsub('Controller', '').constantize end |
Instance Method Details
#service_class ⇒ Object
31 32 33 |
# File 'app/controllers/itsf/backend/service/base_controller.rb', line 31 def service_class self.class.service_class end |