summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-09 18:46:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-09 18:46:02 +0000
commit093ecdfc730f2a35bcdb289603d8f714d5dce320 (patch)
tree3dcd8f15fd8527421807e05a20c86c975e1779d9
parentd6ecfcf50cfa394c97e5ff30b626b331acd8a7c5 (diff)
downloadredmine-093ecdfc730f2a35bcdb289603d8f714d5dce320.tar.gz
redmine-093ecdfc730f2a35bcdb289603d8f714d5dce320.zip
Fixed syntax for ruby1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10969 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/query.rb2
1 files changed, 1 insertions, 1 deletions
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,