mirror of
https://github.com/redmine/redmine.git
synced 2024-08-26 17:58:38 +02:00
Avoid a ruby warning.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3192 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
77aeca5d55
commit
03b57415d6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user