Project

General

Profile

Actions

Bug #3853

closed

allow rabl overrides to taxonomies_controller

Added by Thomas McKay almost 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 #1

Updated by Thomas McKay almost 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #2

Updated by Dominic Cleal almost 11 years ago

  • Assignee set to Thomas McKay
  • Target version set to 1.9.3
  • Translation missing: en.field_release set to 2
Actions #3

Updated by Dominic Cleal almost 11 years ago

  • Related to Feature #3763: Ability for engine/plugin to extend RABL responses added
Actions #4

Updated by David Davis over 9 years ago

  • Related to Feature #9375: Find a way for plugins to easily override the behavior of taxonomies controller actions added
Actions

Also available in: Atom PDF