diff --git a/app/helpers/aspect_global_helper.rb b/app/helpers/aspect_global_helper.rb index eac16828e..dac264005 100644 --- a/app/helpers/aspect_global_helper.rb +++ b/app/helpers/aspect_global_helper.rb @@ -9,12 +9,6 @@ module AspectGlobalHelper end end - def aspects_without_post(aspects, post) - aspects.reject do |aspect| - AspectVisibility.exists?(:aspect_id => aspect.id, :post_id => post.id) - end - end - def aspect_badges(aspects, opts={}) str = '' aspects.each do |aspect| @@ -44,21 +38,6 @@ module AspectGlobalHelper str.html_safe end - def aspect_li(aspect, opts={}) - param_string = "" - if opts.size > 0 - param_string << '?' - opts.each_pair do |k, v| - param_string << "#{k}=#{v}" - end - end -"
  • - - #{aspect.name} - -
  • ".html_safe - end - def link_for_aspect(aspect, opts={}) opts[:params] ||= {} params ||= {} @@ -78,10 +57,6 @@ module AspectGlobalHelper end end - def current_aspect?(aspect) - !@aspect.nil? && !@aspect.instance_of?(Symbol) && @aspect.id == aspect.id - end - def aspect_or_all_path(aspect) if @aspect.is_a? Aspect aspect_path @aspect