order before_filters

pull/6827/head
Tim Felgentreff 14 years ago
parent 8ba2b7f383
commit 894e170b16
  1. 10
      app/controllers/cost_reports_controller.rb

@ -1,9 +1,4 @@
class CostReportsController < ApplicationController 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| rescue_from Exception do |exception|
session.delete(:report) session.delete(:report)
@ -27,6 +22,11 @@ class CostReportsController < ApplicationController
end end
include Report::Controller 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 attr_accessor :cost_types, :unit_id
helper_method :cost_types helper_method :cost_types

Loading…
Cancel
Save