view .svn/pristine/4f/4fdf97ac9fb70913b0f0a7ee691b6415c785a5ae.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
line wrap: on
line source
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