From bb8fde1516ca7c92fcfb68f9139ade61c738b225 Mon Sep 17 00:00:00 2001 From: Toks Date: Sat, 25 May 2013 20:35:54 -0400 Subject: [PATCH] fixes #1348 --- app/views/tag_subscriptions/_secondary_links.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/tag_subscriptions/_secondary_links.html.erb b/app/views/tag_subscriptions/_secondary_links.html.erb index 22b5867aa..deec0b086 100644 --- a/app/views/tag_subscriptions/_secondary_links.html.erb +++ b/app/views/tag_subscriptions/_secondary_links.html.erb @@ -1,7 +1,9 @@ <% content_for(:secondary_links) do %>
  • <%= link_to "Listing", tag_subscriptions_path %>
  • -
  • <%= link_to "New", new_tag_subscription_path %>
  • + <% if CurrentUser.is_member? %> +
  • <%= link_to "New", new_tag_subscription_path %>
  • + <% end %>
  • <%= link_to "Help", wiki_pages_path(:title => "help:tag_subscriptions") %>
  • <% if @tag_subscription && !@tag_subscription.new_record? && @tag_subscription.editable_by?(CurrentUser.user) %>