Module: ForemanPuppet::Extensions::ApiBaseController::PatchMethods
- Defined in:
- app/controllers/concerns/foreman_puppet/extensions/api_base_controller.rb
Instance Method Summary collapse
Instance Method Details
#resource_name(resource = controller_name) ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'app/controllers/concerns/foreman_puppet/extensions/api_base_controller.rb', line 17 def resource_name(resource = controller_name) case resource when 'environment' 'foreman_puppet/environment' else super end end |