diff --git a/sections/views.py b/sections/views.py index 0f78ddd..e3a753d 100644 --- a/sections/views.py +++ b/sections/views.py @@ -43,7 +43,7 @@ def get(id): def get_articles(id): v=request.values pp,o=article_controller.pagination_params(v) # extract per_page and offset from params - articles=controller.get_section_page(id,pp,o) + articles=article_controller.get_section_page(id,pp,o) resp = jsonify(articles=articles) resp.headers['Pagination-Limit']=pp