Revision cc739ab4
Added by Joseph Magen over 10 years ago
app/views/api/v2/smart_variables/index.json.rabl | ||
---|---|---|
collection @smart_variables, :root => :smart_variables, :object_root => false
|
||
collection @smart_variables
|
||
|
||
extends "api/v2/smart_variables/show"
|
Also available in: Unified diff
fixes #3011 - default root node name for api collections json response to :results but make it configurable