diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-10-24 05:40:32 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-10-24 05:40:32 +0000 |
commit | 3109ed9320b1decd62a7e90a3d8e9024181975f4 (patch) | |
tree | 6e98a4154771ed6d84b4b107910b378f053c6399 /app/models/changeset.rb | |
parent | 16b94e126ba7dbbc54c1e016ddb0c5164d579885 (diff) | |
download | redmine-3109ed9320b1decd62a7e90a3d8e9024181975f4.tar.gz redmine-3109ed9320b1decd62a7e90a3d8e9024181975f4.zip |
code format cleanup app/models/changeset.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12231 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/changeset.rb')
-rw-r--r-- | app/models/changeset.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 4198e7e02..ff210e9b8 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -220,9 +220,13 @@ class Changeset < ActiveRecord::Base # don't change the status is the issue is closed return if issue.status && issue.status.is_closed? - journal = issue.init_journal(user || User.anonymous, ll(Setting.default_language, :text_status_changed_by_changeset, text_tag(issue.project))) + journal = issue.init_journal(user || User.anonymous, + ll(Setting.default_language, + :text_status_changed_by_changeset, + text_tag(issue.project))) rule = Setting.commit_update_keywords_array.detect do |rule| - rule['keywords'].include?(action) && (rule['if_tracker_id'].blank? || rule['if_tracker_id'] == issue.tracker_id.to_s) + rule['keywords'].include?(action) && + (rule['if_tracker_id'].blank? || rule['if_tracker_id'] == issue.tracker_id.to_s) end if rule issue.assign_attributes rule.slice(*Issue.attribute_names) |