before_filter already ran when building the xls report, so don't bother running the methods again

pull/6827/head
Tim Felgentreff 13 years ago
parent 93fcd8c4e7
commit d8d53b82b6
  1. 3
      lib/xls_report/cost_reports_controller_patch.rb

@ -43,9 +43,6 @@ if require_dependency 'cost_reports_controller'
# Build an xls file from a cost report.
def report_to_xls
find_optional_project
generate_query
set_active_cost_types
options = { :query => @query, :project => @project, :cost_types => @cost_types }
if @query.group_bys.empty?

Loading…
Cancel
Save