##// END OF EJS Templates
Replaces acts_as_list with an implementation that handles #position= (#12909)....
Replaces acts_as_list with an implementation that handles #position= (#12909). Objects are reordered using the regular attribute writer #position= and AR callbacks. git-svn-id: http://svn.redmine.org/redmine/trunk@15335 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13009:63cb3680c14b
r14953:64afa24a7f72
Show More
show.api.rsb
16 lines | 566 B | text/plain | TextLexer
Jean-Philippe Lang
Converts ProjectsController to use the new API template system....
r4342 api.project do
api.id @project.id
api.name @project.name
api.identifier @project.identifier
api.description @project.description
api.homepage @project.homepage
Jean-Philippe Lang
Adds visibility condition on parent project in API....
r6084 api.parent(:id => @project.parent.id, :name => @project.parent.name) if @project.parent && @project.parent.visible?
Jean-Philippe Lang
Adds project status to GET /projects/:id and GET /projects API response (#15815)....
r12374 api.status @project.status
Jean-Baptiste Barth
Add project is_public to GET /projects/:id and /projects API response (#17628)....
r12985 api.is_public @project.is_public?
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/show.api.rsb...
r7187
Jean-Philippe Lang
Fixed: error when serializing back objects with custom fields using ActiveResource (#6403)....
r4366 render_api_custom_values @project.visible_custom_field_values, api
Jean-Baptiste Barth
Include enabled modules in projects API (#17602)....
r13009 render_api_includes(@project, api)
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/show.api.rsb...
r7187
Jean-Philippe Lang
Converts ProjectsController to use the new API template system....
r4342 api.created_on @project.created_on
api.updated_on @project.updated_on
end