Replace Hash#merge! with Hash#[]= (#34160).

git-svn-id: http://svn.redmine.org/redmine/trunk@20175 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2020-10-24 05:33:23 +00:00
parent 52cc3fdc24
commit b46953247d
12 changed files with 30 additions and 46 deletions

View File

@@ -84,7 +84,7 @@ module Redmine
def permission(name, hash, options={})
@permissions ||= []
options.merge!(:project_module => @project_module)
options[:project_module] = @project_module
@permissions << Permission.new(name, hash, options)
end