diff options
Diffstat (limited to 'lib/redmine/helpers/gantt.rb')
-rw-r--r-- | lib/redmine/helpers/gantt.rb | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 65747fb58..7f32f07df 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -81,15 +81,20 @@ module Redmine end def params - common_params.merge({ :zoom => zoom, :year => year_from, :month => month_from, :months => months }) + common_params.merge({:zoom => zoom, :year => year_from, + :month => month_from, :months => months}) end def params_previous - common_params.merge({:year => (date_from << months).year, :month => (date_from << months).month, :zoom => zoom, :months => months }) + common_params.merge({:year => (date_from << months).year, + :month => (date_from << months).month, + :zoom => zoom, :months => months}) end def params_next - common_params.merge({:year => (date_from >> months).year, :month => (date_from >> months).month, :zoom => zoom, :months => months }) + common_params.merge({:year => (date_from >> months).year, + :month => (date_from >> months).month, + :zoom => zoom, :months => months}) end # Returns the number of rows that will be rendered on the Gantt chart |