Find a way for plugins to easily override the behavior of taxonomies controller actions
Suppose I add an attribute to a foreman object (ie Host). Then I want /api/v2/hosts/:id/update to be able to set that attribute. I don't know of a good way to do that. In Katello, we're currently removing the old foreman route in a routes file, extending the controller with our own hosts controller, and then adding a new route to replace the old one. It's ugly and not a good solution.
#5 Updated by David Davis over 6 years ago
- Subject changed from Find a way for plugins to easily override the behavior of a controller action to Find a way for plugins to easily override the behavior of taxonomies controller actions
- Status changed from New to Closed
I believe this was actually a special case with the taxonomies controller but I don't specifically recall what the problem was. Will reopen if I think of it.