summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-19 12:16:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-12-19 12:16:45 +0000
commit03b57415d66e9f8522099ae454b49edd9342839d (patch)
treea30667c8f40a258f0c3e534303582d7c29e6d524 /app
parent77aeca5d555b87e37a4cf290e6f3fcf9ad5151e1 (diff)
downloadredmine-03b57415d66e9f8522099ae454b49edd9342839d.tar.gz
redmine-03b57415d66e9f8522099ae454b49edd9342839d.zip
Avoid a ruby warning.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3192 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/workflow.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/workflow.rb b/app/models/workflow.rb
index da358b518..423c5a48b 100644
--- a/app/models/workflow.rb
+++ b/app/models/workflow.rb
@@ -55,7 +55,7 @@ class Workflow < ActiveRecord::Base
# Copies workflows from source to targets
def self.copy(source_tracker, source_role, target_trackers, target_roles)
unless source_tracker.is_a?(Tracker) || source_role.is_a?(Role)
- raise ArgumentError.new "source_tracker or source_role must be specified"
+ raise ArgumentError.new("source_tracker or source_role must be specified")
end
target_trackers = [target_trackers].flatten.compact