From f93365a0769e07031ff03a2e50217d6b6df9ffe3 Mon Sep 17 00:00:00 2001 From: YarekTenko Date: Mon, 27 Mar 2017 10:22:01 -0700 Subject: [PATCH] Add Paginator for Bet views -Added the paginator helper method to index.html.erb for Bet that renders the pagination panel with given parameters; -Added display_bets partial that renders all the bets in the bets instance variable; -Added bet partial for Bet model; --- app/views/bets/index.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/bets/index.html.erb b/app/views/bets/index.html.erb index f110418..f2b7a8b 100644 --- a/app/views/bets/index.html.erb +++ b/app/views/bets/index.html.erb @@ -26,5 +26,12 @@ +
+ +
<% end %>