summaryrefslogtreecommitdiffstats
path: root/lib/redmine/helpers
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-17 16:45:54 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-17 16:45:54 +0000
commit2140c490421261b4f8514792d1b6c5f69453bf6d (patch)
treeb83d01ff9d2c656ff8ca50ccf0d2b37ab21285ce /lib/redmine/helpers
parent5d77985f14802cdb074a08d7d162e0c5d797b6c1 (diff)
downloadredmine-2140c490421261b4f8514792d1b6c5f69453bf6d.tar.gz
redmine-2140c490421261b4f8514792d1b6c5f69453bf6d.zip
code cleanup: rubocop: fix Layout/CaseIndentation in lib/redmine/helpers/gantt.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18727 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/helpers')
-rw-r--r--lib/redmine/helpers/gantt.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb
index ef9475cea..2258faf9c 100644
--- a/lib/redmine/helpers/gantt.rb
+++ b/lib/redmine/helpers/gantt.rb
@@ -820,8 +820,8 @@ module Redmine
output = +''
data_options = {}
data_options[:collapse_expand] = "#{object.class}-#{object.id}".downcase if object
-
- css = "task " + case object
+ css = "task " +
+ case object
when Project
"project"
when Version
@@ -831,7 +831,6 @@ module Redmine
else
""
end
-
# Renders the task bar, with progress and late
if coords[:bar_start] && coords[:bar_end]
width = coords[:bar_end] - coords[:bar_start] - 2