Permalink
Browse files

Merge pull request #16 from alfajango/postgres-order-error

Fixed syntax error with postgress order statement.
  • Loading branch information...
2 parents b97ce0e + e2aeaf4 commit 80384932de1c16086c4752f333b260113428969c @FooBarWidget FooBarWidget committed Jan 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/site.rb
View
@@ -43,7 +43,7 @@ def public_topics_info
end
def last_updated_topics
- topics.order(:last_posted_at => :desc)
+ topics.order("last_posted_at DESC")
end
private

0 comments on commit 8038493

Please sign in to comment.