Skip to content

Commit

Permalink
minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
erik committed Jul 11, 2012
1 parent 885aade commit 2d87bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/news_item.rb
Expand Up @@ -147,7 +147,7 @@ class NewsItem < ActiveRecord::Base
} }


named_scope :order_results, lambda { |type| named_scope :order_results, lambda { |type|
return {} if type=='almost-funded' return {} if type=='almost_funded'
return { :order=>"news_items.created_at desc" } return { :order=>"news_items.created_at desc" }
} }


Expand Down

0 comments on commit 2d87bf6

Please sign in to comment.