From 138f3eb3dbaf315e2c6dd01849029e7e869a8fca Mon Sep 17 00:00:00 2001 From: albert Date: Sat, 23 Feb 2013 16:29:01 -0500 Subject: [PATCH] add option to delete subscriptions --- app/views/tag_subscriptions/index.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/tag_subscriptions/index.html.erb b/app/views/tag_subscriptions/index.html.erb index edef650fd..1a28e9aa0 100644 --- a/app/views/tag_subscriptions/index.html.erb +++ b/app/views/tag_subscriptions/index.html.erb @@ -20,6 +20,7 @@ <%= tag_subscription.post_id_array.size %> <%= link_to "edit", edit_tag_subscription_path(tag_subscription) %> + | <%= link_to "delete", tag_subscription_path(tag_subscription), :method => :delete, :confirm => "Are you sure you want to delete this subscription?" %> | <%= link_to "posts", posts_path(:tags => "sub:#{tag_subscription.creator.name}:#{tag_subscription.name}") %>