diff --git a/app/presenters/tag_set_presenter.rb b/app/presenters/tag_set_presenter.rb index 8046b49ef..bd4504bb5 100644 --- a/app/presenters/tag_set_presenter.rb +++ b/app/presenters/tag_set_presenter.rb @@ -92,7 +92,7 @@ private end end - def is_index? + def is_index?(template) template.params[:action] == "index" end @@ -108,7 +108,7 @@ private html << %{? } end - if CurrentUser.user.is_privileged? && is_index? + if CurrentUser.user.is_privileged? && is_index?(template) html << %{+ } if current_query.present?