##// 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:

r10504:9e3130872057
r14953:64afa24a7f72
Show More
index.api.rsb
13 lines | 298 B | text/plain | TextLexer
api.array :wiki_pages do
@pages.each do |page|
api.wiki_page do
api.title page.title
if page.parent
api.parent :title => page.parent.title
end
api.version page.version
api.created_on page.created_on
api.updated_on page.updated_on
end
end
end