diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-09 07:42:54 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-09 07:42:54 +0000 |
commit | 71b43ea1c7c1ee9c854bb09bc059cd3a60ca1ddc (patch) | |
tree | 5d882c04a002f5456968adc86698c75028b18b9d /app | |
parent | 2e1f80dcdede1fc58f93b58ea7b2256aacf6ec93 (diff) | |
download | redmine-71b43ea1c7c1ee9c854bb09bc059cd3a60ca1ddc.tar.gz redmine-71b43ea1c7c1ee9c854bb09bc059cd3a60ca1ddc.zip |
Wiki Pages REST API with version returns wrong comments (#15235).
Patch by Yukinari TOYOTA.
git-svn-id: http://svn.redmine.org/redmine/trunk@12245 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/wiki/show.api.rsb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/show.api.rsb b/app/views/wiki/show.api.rsb index c35316104..8e082e123 100644 --- a/app/views/wiki/show.api.rsb +++ b/app/views/wiki/show.api.rsb @@ -6,7 +6,7 @@ api.wiki_page do api.text @content.text api.version @content.version api.author(:id => @content.author_id, :name => @content.author.name) - api.comments @page.content.comments + api.comments @content.comments api.created_on @page.created_on api.updated_on @content.updated_on |