From 8cffa2cb616548c41a71f12ee825cccf23461096 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Fri, 4 Sep 2015 18:15:56 -0300 Subject: [PATCH] api: fix article children pagination --- lib/noosfero/api/v1/articles.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/lib/noosfero/api/v1/articles.rb b/lib/noosfero/api/v1/articles.rb index 47d370d..4869569 100644 --- a/lib/noosfero/api/v1/articles.rb +++ b/lib/noosfero/api/v1/articles.rb @@ -142,6 +142,7 @@ module Noosfero {:vote => vote.save} end + paginate per_page: MAX_PER_PAGE, max_per_page: MAX_PER_PAGE desc 'Return the children of a article identified by id' do detail 'Get all children articles of a specific article' params Noosfero::API::Entities::Article.documentation -- libgit2 0.21.2