summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-13 21:44:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-13 21:44:53 +0000
commite9e47900fb01bf031c1c3018305f43bea4ccdd33 (patch)
tree2810661c52d9d8e0ccc935753ff564bf275f082d /app
parent1928e5624ece1f044b9e200e6b67384807b510a6 (diff)
downloadredmine-e9e47900fb01bf031c1c3018305f43bea4ccdd33.tar.gz
redmine-e9e47900fb01bf031c1c3018305f43bea4ccdd33.zip
Fixes indentation.
git-svn-id: http://svn.redmine.org/redmine/trunk@16398 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index a8b68ccbb..6141780a5 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -1159,7 +1159,7 @@ class Issue < ActiveRecord::Base
# Preloads users who updated last a collection of issues
def self.load_visible_last_updated_by(issues, user=User.current)
- if issues.any?
+ if issues.any?
issue_ids = issues.map(&:id)
journal_ids = Journal.joins(issue: :project).
where(:journalized_type => 'Issue', :journalized_id => issue_ids).