Missed a named_scope

This commit is contained in:
Jacques Crocker 2010-07-31 23:49:04 -07:00
parent 07a7cddb2d
commit 36ab2f0066

View File

@ -23,7 +23,7 @@ class ContentInstance
before_create :add_to_list_bottom
## named scopes ##
named_scope :latest_updated, :order_by => [[:updated_at, :desc]], :limit => Locomotive.config.lastest_items_nb
scope :latest_updated, :order_by => [[:updated_at, :desc]], :limit => Locomotive.config.lastest_items_nb
## methods ##