diff --git a/app/presenters/tag_set_presenter.rb b/app/presenters/tag_set_presenter.rb index ee0ba4035..f8a368009 100644 --- a/app/presenters/tag_set_presenter.rb +++ b/app/presenters/tag_set_presenter.rb @@ -92,10 +92,6 @@ private end end - def is_index?(template) - template.params[:action] == "index" - end - def build_list_item(tag, template, options) html = "" html << %{
  • } @@ -108,7 +104,7 @@ private html << %{? } end - if CurrentUser.user.is_gold? && is_index?(template) && current_query.present? + if CurrentUser.user.is_gold? && current_query.present? html << %{+ } html << %{ } end