Class: Service::BaseController
- Inherits:
-
Object
- Object
- Service::BaseController
- Includes:
- 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::PunditNamespacedAuthorizeConcern
Class Method Details
.service_class ⇒ Object
24 25 26 |
# File 'app/controllers/itsf/backend/service/base_controller.rb', line 24 def self.service_class name.gsub('Controller', '').constantize end |
Instance Method Details
#service_class ⇒ Object
28 29 30 |
# File 'app/controllers/itsf/backend/service/base_controller.rb', line 28 def service_class self.class.service_class end |