Merge pull request from akostrikov/master

Hello, I fixed paths in static files and added unloadable in controller
This commit is contained in:
Brad Beattie 2011-07-06 10:00:53 -07:00
commit c661a06e6b

View File

@ -2,6 +2,8 @@ require 'SVG/Graph/TimeSeries'
class GraphsController < ApplicationController class GraphsController < ApplicationController
unloadable
############################################################################ ############################################################################
# Initialization # Initialization
############################################################################ ############################################################################
@ -92,7 +94,7 @@ class GraphsController < ApplicationController
:show_data_points => false, :show_data_points => false,
:show_data_values => false, :show_data_values => false,
:stagger_x_labels => true, :stagger_x_labels => true,
:style_sheet => "/plugin_assets/redmine_graphs/stylesheets/issue_growth.css", :style_sheet => "/plugin_assets/redmine-graphs-plugin/stylesheets/issue_growth.css",
:width => 720, :width => 720,
:x_label_format => "%Y-%m-%d" :x_label_format => "%Y-%m-%d"
}) })
@ -154,7 +156,7 @@ class GraphsController < ApplicationController
:show_data_points => false, :show_data_points => false,
:show_data_values => false, :show_data_values => false,
:stagger_x_labels => true, :stagger_x_labels => true,
:style_sheet => "/plugin_assets/redmine_graphs/stylesheets/issue_age.css", :style_sheet => "/plugin_assets/redmine-graphs-plugin/stylesheets/issue_age.css",
:width => 720, :width => 720,
:x_label_format => "%b %d" :x_label_format => "%b %d"
}) })
@ -202,7 +204,7 @@ class GraphsController < ApplicationController
:show_data_points => true, :show_data_points => true,
:show_data_values => false, :show_data_values => false,
:stagger_x_labels => true, :stagger_x_labels => true,
:style_sheet => "/plugin_assets/redmine_graphs/stylesheets/target_version.css", :style_sheet => "/plugin_assets/redmine-graphs-plugin/stylesheets/target_version.css",
:width => 800, :width => 800,
:x_label_format => "%b %d" :x_label_format => "%b %d"
}) })