summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-17 16:14:45 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-17 16:14:45 +0000
commit72fec3ae028b50c298652c63aa395b0e5770a21f (patch)
treed9e8d970eb2554d32c2dab2407a288132bdc28e1 /lib/redmine
parenta7b568ccff3ba21e87179feea7ede8acbe0b8875 (diff)
downloadredmine-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.rb2
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