mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user