Skip to content

Commit 5631919

Browse files
authored
Merge pull request #68 from pvsukale/master
modified route helper to solve 404.
2 parents a503900 + c4749f4 commit 5631919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/protips/show.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
= button_to protip_mark_spam_path(@protip), title: 'Mark as spam', data: { confirm: "Mark as spam?" }, form_class: "diminish inline plain" do
3737
= icon('meh-o')
3838

39-
= button_to seo_protip_path(@protip), method: :delete, data: { confirm: "This makes us very sad. Are you sure?" }, form_class: "diminish inline plain" do
39+
= button_to protip_path(@protip), method: :delete, data: { confirm: "This makes us very sad. Are you sure?" }, form_class: "diminish inline plain" do
4040
= icon('trash')
4141

4242
%a.ml1.btn.rounded.bg-green.white{href: edit_protip_path(@protip)}

0 commit comments

Comments
 (0)