diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-17 16:14:45 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-17 16:14:45 +0000 |
commit | 72fec3ae028b50c298652c63aa395b0e5770a21f (patch) | |
tree | d9e8d970eb2554d32c2dab2407a288132bdc28e1 /lib/redmine | |
parent | a7b568ccff3ba21e87179feea7ede8acbe0b8875 (diff) | |
download | redmine-72fec3ae028b50c298652c63aa395b0e5770a21f.tar.gz redmine-72fec3ae028b50c298652c63aa395b0e5770a21f.zip |
code cleanup: rubocop: fix Layout/SpaceAroundBlockParameters in lib/redmine/plugin.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18715 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r-- | lib/redmine/plugin.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb index 51811ac9b..a96e071b4 100644 --- a/lib/redmine/plugin.rb +++ b/lib/redmine/plugin.rb @@ -342,7 +342,7 @@ module Redmine # permission :say_hello, { :example => :say_hello }, :require => :member def permission(name, actions, options = {}) if @project_module - Redmine::AccessControl.map {|map| map.project_module(@project_module) {|map|map.permission(name, actions, options)}} + Redmine::AccessControl.map {|map| map.project_module(@project_module) {|map| map.permission(name, actions, options)}} else Redmine::AccessControl.map {|map| map.permission(name, actions, options)} end |