From 6c59b32300cbb288785e6f390f91ef28c2446472 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Tue, 8 Jul 2008 21:27:25 +0000 Subject: [PATCH] ActionItem517: replace temp with query --- app/helpers/dates_helper.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/helpers/dates_helper.rb b/app/helpers/dates_helper.rb index 6d19e24..ce8aa3b 100644 --- a/app/helpers/dates_helper.rb +++ b/app/helpers/dates_helper.rb @@ -69,10 +69,7 @@ module DatesHelper month = Date.today.month end - # FIXME Date#strftime should translate this for us !!! - monthname = month_name(month.to_i) - - _('%{month} %{year}') % { :year => year, :month => monthname } + _('%{month} %{year}') % { :year => year, :month => month_name(month.to_i) } end def link_to_previous_month(year, month) -- libgit2 0.21.2