Skip to content

Commit c4749f4

Browse files
authored
modified route helper to solve 404.
1 parent a503900 commit c4749f4

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)