From 8e34bf5a3e650918557689e539ef9b3bbfba8467 Mon Sep 17 00:00:00 2001 From: Mohamed Fadel Date: Fri, 25 Apr 2014 16:25:12 +0200 Subject: [PATCH] Fixing code #211 --- tutor/app/views/model_answers/_index.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tutor/app/views/model_answers/_index.html.erb b/tutor/app/views/model_answers/_index.html.erb index 4c6753d6..a8f2049d 100644 --- a/tutor/app/views/model_answers/_index.html.erb +++ b/tutor/app/views/model_answers/_index.html.erb @@ -43,7 +43,8 @@ {class: 'btn btn-primary btn-xs', style: "text-decoration:none"} %> Delete - <%= button_to "Delete", {controller: :hints, action: :destroy, id: hint1.id}, + <%= button_to "Delete", + {controller: :hints, action: :destroy, id: hint1.id}, :method => :delete, class: 'btn btn-primary btn-xs' %> Delete