diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-10 22:55:13 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-10 22:55:13 +0000 |
commit | a2edef90351c7cf1afe7a061a4d06c99bdfeac2f (patch) | |
tree | ed89acf6673b7be9f9c83dbf6686df4e777b526b | |
parent | abcfbd9c7524288b85d23c8be4a75ab95d922df1 (diff) | |
download | redmine-a2edef90351c7cf1afe7a061a4d06c99bdfeac2f.tar.gz redmine-a2edef90351c7cf1afe7a061a4d06c99bdfeac2f.zip |
gantt: code layout cleanup render method of lib/redmine/helpers/gantt.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10344 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/redmine/helpers/gantt.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 7f32f07df..eafdda7f9 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -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 |