Commit 8cffa2cb616548c41a71f12ee825cccf23461096
1 parent
6d33583a
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
api: fix article children pagination
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/noosfero/api/v1/articles.rb
... | ... | @@ -142,6 +142,7 @@ module Noosfero |
142 | 142 | {:vote => vote.save} |
143 | 143 | end |
144 | 144 | |
145 | + paginate per_page: MAX_PER_PAGE, max_per_page: MAX_PER_PAGE | |
145 | 146 | desc 'Return the children of a article identified by id' do |
146 | 147 | detail 'Get all children articles of a specific article' |
147 | 148 | params Noosfero::API::Entities::Article.documentation | ... | ... |