]> source.dussan.org Git - redmine.git/commitdiff
gantt: code layout cleanup render method of lib/redmine/helpers/gantt.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 10 Sep 2012 22:55:13 +0000 (22:55 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 10 Sep 2012 22:55:13 +0000 (22:55 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10344 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/helpers/gantt.rb

index 7f32f07dfc6341e93a2a6ae1ed6d4d6cc4a13ee2..eafdda7f9a5937fb0af771100448d57941596088 100644 (file)
@@ -168,7 +168,9 @@ module Redmine
       end
 
       def render(options={})
-        options = {:top => 0, :top_increment => 20, :indent_increment => 20, :render => :subject, :format => :html}.merge(options)
+        options = {:top => 0, :top_increment => 20,
+                   :indent_increment => 20, :render => :subject,
+                   :format => :html}.merge(options)
         indent = options[:indent] || 4
         @subjects = '' unless options[:only] == :lines
         @lines = '' unless options[:only] == :subjects