Skip to content

Commit

Permalink
Fixing code #211
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed Fadel authored and Mohamed Fadel committed Apr 25, 2014
1 parent a17eb86 commit 8bb1039
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tutor/app/views/model_answers/_index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
{class: 'btn btn-primary btn-xs',
style: "text-decoration:none"} %></td>
<th style = "width:20%">Delete</th>
<td><%= button_to "Delete", {controller: :hints, action: :destroy, id: hint1.id},
<td><%= button_to "Delete",
{controller: :hints, action: :destroy, id: hint1.id},
:method => :delete, class: 'btn btn-primary btn-xs' %></td>
<td><a href="#" class="btn btn-danger btn-xs">Delete</a></td>
</tr>
Expand Down

0 comments on commit 8bb1039

Please sign in to comment.