Report abuse


			
class ApplicationController

  helper_method :excludes
  def excludes
    @€xcludes ||= ['foo', 'bar']
  end

end


			
<% if excludes.include?(something) -%>
 ...
<% end -%>