Permalink
Browse files

display current month first

  • Loading branch information...
1 parent 0ef2ceb commit 1bbf3a2a42f9f10b12cb2d958d1a46577b21d855 @marutanm committed Mar 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers.rb
View
@@ -1,7 +1,7 @@
Kakeibo.controllers do
get :index do
- @budget = Budget.all
+ @budget = Budget.all.desc(:yearmonth)
haml :list
end

0 comments on commit 1bbf3a2

Please sign in to comment.