From c50808f68e45e762427838727183a91824959fc1 Mon Sep 17 00:00:00 2001 From: Philipp Fischbeck Date: Wed, 10 Dec 2014 01:09:52 +0100 Subject: [PATCH] Fix "New Problem" button leading to POST request --- app/views/problems/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/problems/index.html.erb b/app/views/problems/index.html.erb index bf363f8..c73c437 100644 --- a/app/views/problems/index.html.erb +++ b/app/views/problems/index.html.erb @@ -20,4 +20,4 @@
-<%= button_to 'New Problem', new_problem_path, class: 'btn btn-default' %> +<%= link_to 'New Problem', new_problem_path, class: 'btn btn-default' %>