Permalink
Browse files

minor tweak

  • Loading branch information...
1 parent 885aade commit 2d87bf604836b04566d0226b2b096eaca9882b69 erik committed Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/news_item.rb
View
@@ -147,7 +147,7 @@ class NewsItem < ActiveRecord::Base
}
named_scope :order_results, lambda { |type|
- return {} if type=='almost-funded'
+ return {} if type=='almost_funded'
return { :order=>"news_items.created_at desc" }
}

0 comments on commit 2d87bf6

Please sign in to comment.