From 093ecdfc730f2a35bcdb289603d8f714d5dce320 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 9 Dec 2012 18:46:02 +0000 Subject: [PATCH] Fixed syntax for ruby1.8. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10969 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,