]> source.dussan.org Git - redmine.git/commitdiff
Avoid a ruby warning.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Dec 2009 12:16:45 +0000 (12:16 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Dec 2009 12:16:45 +0000 (12:16 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3192 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/workflow.rb

index da358b5184d8b3bd7eb9fa848d5ade6c09e84e6a..423c5a48b32910c58d2f6e8d7afce4c3ed1ad282 100644 (file)
@@ -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