summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-22 15:53:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-22 15:53:37 +0000
commite079d49dd702d17a8d3c11588aea0f17ab1b7ae8 (patch)
tree298ec4ffbac943c0b680946562759c73de916726 /app
parentc54761c690506039e4a478074d4b6be4efd83513 (diff)
downloadredmine-e079d49dd702d17a8d3c11588aea0f17ab1b7ae8.tar.gz
redmine-e079d49dd702d17a8d3c11588aea0f17ab1b7ae8.zip
code cleanup: rubocop: fix Layout/AccessModifierIndentation in app/models/role.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18829 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/role.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/role.rb b/app/models/role.rb
index 7fee1b50f..0612af491 100644
--- a/app/models/role.rb
+++ b/app/models/role.rb
@@ -280,7 +280,7 @@ class Role < ActiveRecord::Base
find_or_create_system_role(BUILTIN_ANONYMOUS, 'Anonymous')
end
-private
+ private
def allowed_permissions
@allowed_permissions ||= permissions + Redmine::AccessControl.public_permissions.collect {|p| p.name}