From 0990551cfc343116c5bca93edcdbb6771418c235 Mon Sep 17 00:00:00 2001 From: Dan Elbert Date: Wed, 28 Sep 2016 17:09:52 -0500 Subject: [PATCH] added new recicpe button to top of rec index --- app/views/recipes/index.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/recipes/index.html.erb b/app/views/recipes/index.html.erb index 75ffbc8..8fbaa71 100644 --- a/app/views/recipes/index.html.erb +++ b/app/views/recipes/index.html.erb @@ -9,6 +9,8 @@

No Recipes

<% else %> + <%= link_to 'New Recipe', new_recipe_path, class: 'btn btn-default' %> + <%= paginate @recipes, :param_name => 'criteria[page]' %>