Project

General

Profile

Actions

Bug #3853

closed

allow rabl overrides to taxonomies_controller

Added by Thomas McKay about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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

Related issues 2 (0 open2 closed)

Related to Foreman - Feature #3763: Ability for engine/plugin to extend RABL responsesClosedTimo Goebel11/26/2013Actions
Related to Foreman - Feature #9375: Find a way for plugins to easily override the behavior of taxonomies controller actionsRejected02/13/2015Actions
Actions

Also available in: Atom PDF