Class: ForemanVirtWhoConfigure::ApplicationController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ForemanVirtWhoConfigure::ApplicationController
- Defined in:
- app/controllers/foreman_virt_who_configure/application_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#resource_class ⇒ Object
3 4 5 |
# File 'app/controllers/foreman_virt_who_configure/application_controller.rb', line 3 def resource_class self.class.to_s.sub(/Controller$/, '').singularize.constantize end |
#resource_name ⇒ Object
7 8 9 |
# File 'app/controllers/foreman_virt_who_configure/application_controller.rb', line 7 def resource_name 'config' end |