Bug #3853
closed
allow rabl overrides to taxonomies_controller
Added by Thomas McKay over 10 years ago.
Updated about 6 years ago.
Description
When an engine extends a core model, they may wish to override the rabl json to include their own fields.
For example, the index method in app/controllers/api/v2/taxonomies_controller.rb could be changed to
def index(rabl='api/v2/taxonomies/index')
...
render rabl
end
- Status changed from New to Closed
- % Done changed from 0 to 100
- Assignee set to Thomas McKay
- Target version set to 1.9.3
- Translation missing: en.field_release set to 2
- Related to Feature #3763: Ability for engine/plugin to extend RABL responses added
- Related to Feature #9375: Find a way for plugins to easily override the behavior of taxonomies controller actions added
Also available in: Atom
PDF