##// END OF EJS Templates
Merged r12243 from trunk to 2.3-stable...
Merged r12243 from trunk to 2.3-stable Gemfile: remove "i18n". activesupport 3.2.13 requires i18n 0.6.1 explicitly. https://github.com/rails/rails/commit/197b9f4d61260bea9e2a0a4883977e02164a0667 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.3-stable@12244 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10507:a679d19709cf
r12014:e774b8a6009d
Show More
show.api.rsb
18 lines | 523 B | text/plain | TextLexer
api.wiki_page do
api.title @page.title
if @page.parent
api.parent :title => @page.parent.title
end
api.text @content.text
api.version @content.version
api.author(:id => @content.author_id, :name => @content.author.name)
api.comments @page.content.comments
api.created_on @page.created_on
api.updated_on @content.updated_on
api.array :attachments do
@page.attachments.each do |attachment|
render_api_attachment(attachment, api)
end
end if include_in_api_response?('attachments')
end