summaryrefslogtreecommitdiffstats
path: root/app/models/project.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 11:53:48 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 11:53:48 +0000
commitb31b57f82d10e6f19c04dfa38a98a57d772dca1b (patch)
treeed94fcfefc7a5e1bb554af0f57ad82b36a623091 /app/models/project.rb
parentf59fdeeb4a8f750d6c2551d76636b9a388d170f9 (diff)
downloadredmine-b31b57f82d10e6f19c04dfa38a98a57d772dca1b.tar.gz
redmine-b31b57f82d10e6f19c04dfa38a98a57d772dca1b.zip
cleanup: rubocop: fix Layout/BlockAlignment in app/models/project.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19009 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/project.rb')
-rw-r--r--app/models/project.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/project.rb b/app/models/project.rb
index 8a41d45e5..6c88093f2 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -754,7 +754,8 @@ class Project < ActiveRecord::Base
safe_attributes(
'enabled_module_names',
- :if => lambda {|project, user|
+ :if =>
+ lambda {|project, user|
if project.new_record?
if user.admin?
true