From 8e2dee42180dd48dee7d20e2d0a86aa5a0136b16 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 10 Sep 2017 19:19:46 +0200 Subject: [PATCH] pagination --- app/views/public/articles/_index.html.haml | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/public/articles/_index.html.haml b/app/views/public/articles/_index.html.haml index 961f475..b8e4f02 100644 --- a/app/views/public/articles/_index.html.haml +++ b/app/views/public/articles/_index.html.haml @@ -1 +1,2 @@ =render :partial => "public/articles/article", :collection => @articles, :as => "article" += paginate @articles \ No newline at end of file