diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-24 05:54:53 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-24 05:54:53 +0000 |
commit | 2829ddcc33109220d35d11436f9e5bc22b437c36 (patch) | |
tree | 039279ea4da6af3e1575c7c27b5d79a89e9e12ac /app | |
parent | d0ca6ad31d4cac884a4eec50af7ab1065d76d000 (diff) | |
download | redmine-2829ddcc33109220d35d11436f9e5bc22b437c36.tar.gz redmine-2829ddcc33109220d35d11436f9e5bc22b437c36.zip |
code cleanup: rubocop: fix Layout/BlockEndNewline in app/models/issue.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18517 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/issue.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index 437e585a4..6bfdaa433 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -488,7 +488,8 @@ class Issue < ActiveRecord::Base safe_attributes 'parent_issue_id', :if => lambda {|issue, user| (issue.new_record? || issue.attributes_editable?(user)) && - user.allowed_to?(:manage_subtasks, issue.project)} + user.allowed_to?(:manage_subtasks, issue.project) + } safe_attributes 'deleted_attachment_ids', :if => lambda {|issue, user| issue.attachments_deletable?(user)} |