From 36ab2f00663db6f63ad2aab5a673bcd774247458 Mon Sep 17 00:00:00 2001 From: Jacques Crocker Date: Sat, 31 Jul 2010 23:49:04 -0700 Subject: [PATCH] Missed a named_scope --- app/models/content_instance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/content_instance.rb b/app/models/content_instance.rb index d4f4a1c8..d92d8669 100644 --- a/app/models/content_instance.rb +++ b/app/models/content_instance.rb @@ -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 ##