Permalink
Browse files

typo

  • Loading branch information...
1 parent 49559be commit 8d05f654e1542aca87b3fa35e1e2d58b7bce305a @jacobwgillespie committed Aug 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/title.rb
View
@@ -51,7 +51,7 @@ class Title < ActiveRecord::Base
mount_uploader :poster, PosterUploader
# Scopes
- scope :homepage, where(:status_state => 'loaded').sort('updated_at DESC').limit(20)
+ scope :homepage, where(:status_state => 'loaded').order('updated_at DESC').limit(20)
# Status state
include AASM

0 comments on commit 8d05f65

Please sign in to comment.