From 5d32877f69eae9f617c16961c12618404c120cba 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 67c00f2..9b5f3a8 100644 --- a/app/views/bets/index.html.erb +++ b/app/views/bets/index.html.erb @@ -26,5 +26,12 @@ +
+ +
<% end %>