Project

General

Profile

« Previous | Next » 

Revision 630eae9c

Added by Corey Osman over 12 years ago

  • ID 630eae9ccf8a817b5845af1332274d7f8f4bb45f

fixes #1123 api for config_templates needs to return additional attributes

Signed-off-by: Corey Osman <>

View differences:

app/models/config_template.rb
end
def as_json(options={})
super({:only => [:name, :template, :snippet]}.merge(options))
super({:only => [:name, :template, :id, :snippet],:include => [:template_kind]}.merge(options))
end
end

Also available in: Unified diff