From ffc14dcdb40415257adec606f94631f5ee688bad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?= Date: Wed, 14 Dec 2016 12:57:16 +0100 Subject: [PATCH] adds pagination to admin questions' index --- app/views/admin/poll/questions/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/admin/poll/questions/index.html.erb b/app/views/admin/poll/questions/index.html.erb index 2aef2b6e5..e3d6a5446 100644 --- a/app/views/admin/poll/questions/index.html.erb +++ b/app/views/admin/poll/questions/index.html.erb @@ -22,4 +22,6 @@ <% end %> + + <%= paginate @questions %> <% end %> \ No newline at end of file