add option to delete subscriptions
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
<td><%= tag_subscription.post_id_array.size %></td>
|
<td><%= tag_subscription.post_id_array.size %></td>
|
||||||
<td>
|
<td>
|
||||||
<%= link_to "edit", edit_tag_subscription_path(tag_subscription) %>
|
<%= 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}") %>
|
| <%= link_to "posts", posts_path(:tags => "sub:#{tag_subscription.creator.name}:#{tag_subscription.name}") %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user