mirror of
https://github.com/redmine/redmine.git
synced 2026-07-10 15:33:17 +02:00
Merge r22569 from trunk to 5.1-stable (#39862).
git-svn-id: https://svn.redmine.org/redmine/branches/5.1-stable@22570 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -39,7 +39,7 @@ module Redmine
|
||||
end
|
||||
|
||||
def param_expression
|
||||
@param_expression ||= Regexp.new("^(#{object_types.join("|")})$")
|
||||
@param_expression ||= Regexp.new("^(#{object_types.to_a.join("|")})$")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user