From 1ec6738aca5ea1670ecbc6ed3e675c01d4bd4192 Mon Sep 17 00:00:00 2001 From: albert Date: Tue, 30 Oct 2012 17:41:28 -0400 Subject: [PATCH] fix --- app/presenters/tag_set_presenter.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/presenters/tag_set_presenter.rb b/app/presenters/tag_set_presenter.rb index bd4504bb5..5a375da75 100644 --- a/app/presenters/tag_set_presenter.rb +++ b/app/presenters/tag_set_presenter.rb @@ -92,9 +92,9 @@ private end end - def is_index?(template) - template.params[:action] == "index" - end + # def is_index?(template) + # template.params[:action] == "index" + # end def build_list_item(tag, template, options) html = "" @@ -108,13 +108,13 @@ private html << %{? } end - if CurrentUser.user.is_privileged? && is_index?(template) - html << %{+ } - - if current_query.present? - html << %{ } - end - end + # if CurrentUser.user.is_privileged? && is_index?(template) + # html << %{+ } + # + # if current_query.present? + # html << %{ } + # end + # end end humanized_tag = tag.tr("_", " ")