app/controllers/home_controller.rb in moneyrail-0.0.2 vs app/controllers/home_controller.rb in moneyrail-0.1.0
- old
+ new
@@ -22,10 +22,10 @@
end
def append_current_month(months)
current = Time.now.to_date.beginning_of_month
unless months.include?(current)
- months.push current
+ months.unshift current
end
end
end