Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Braun committed Mar 29, 2010
1 parent 765beab commit dd2f360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Post
Post.auto_migrate!

get "/" do
@posts = Post.all(:order => :created_at.desc)
@posts = Post.all(:order => [:created_at.desc])
haml :index
end

Expand Down

0 comments on commit dd2f360

Please sign in to comment.