You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
298 B
14 lines
298 B
6 years ago
|
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
|