summaryrefslogtreecommitdiffstats
path: root/app/models/role.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-16 14:36:20 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-16 14:36:20 +0000
commitc32277a42b768a665557ba44c3509678e52bada3 (patch)
treed956dd4cca3e2a4d7d84dd3c28b1977850a772cc /app/models/role.rb
parentb85d4cb70c8dd4cf4a609bdef54a4236ed4e726d (diff)
downloadredmine-c32277a42b768a665557ba44c3509678e52bada3.tar.gz
redmine-c32277a42b768a665557ba44c3509678e52bada3.zip
fix Role#find_or_create_system_role is not private
git-svn-id: http://svn.redmine.org/redmine/trunk@18693 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/role.rb')
-rw-r--r--app/models/role.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/role.rb b/app/models/role.rb
index 0a0f1dd6d..7103c8f70 100644
--- a/app/models/role.rb
+++ b/app/models/role.rb
@@ -304,4 +304,5 @@ private
end
role
end
+ private_class_method :find_or_create_system_role
end