diff --git a/app/controllers/cost_reports_controller.rb b/app/controllers/cost_reports_controller.rb index 88ccb17a2c..9d29d4e11e 100644 --- a/app/controllers/cost_reports_controller.rb +++ b/app/controllers/cost_reports_controller.rb @@ -1,9 +1,4 @@ class CostReportsController < ApplicationController - before_filter :check_cache - before_filter :load_all - before_filter :find_optional_project - before_filter :find_optional_user - before_filter :set_cost_types rescue_from Exception do |exception| session.delete(:report) @@ -27,6 +22,11 @@ class CostReportsController < ApplicationController end include Report::Controller + before_filter :check_cache + before_filter :load_all + before_filter :find_optional_project + before_filter :find_optional_user + before_filter :set_cost_types attr_accessor :cost_types, :unit_id helper_method :cost_types