From: Jean-Philippe Lang Date: Sun, 9 Dec 2012 18:46:02 +0000 (+0000) Subject: Fixed syntax for ruby1.8. X-Git-Tag: 2.3.0~465 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=093ecdfc730f2a35bcdb289603d8f714d5dce320;p=redmine.git Fixed syntax for ruby1.8. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10969 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/models/query.rb b/app/models/query.rb index 814d11846..ff7758c71 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -120,7 +120,7 @@ class Query < ActiveRecord::Base "ld" => :label_yesterday, "w" => :label_this_week, "lw" => :label_last_week, - "l2w" => [:label_last_n_weeks, :count => 2], + "l2w" => [:label_last_n_weeks, {:count => 2}], "m" => :label_this_month, "lm" => :label_last_month, "y" => :label_this_year,