engine is no longer defined in ReportingHelper

pull/6827/head
Tim Felgentreff 13 years ago
parent ba301b3726
commit 7db14c146a
  1. 4
      app/helpers/reporting_helper.rb

@ -77,8 +77,8 @@ module ReportingHelper
def label_for(field) def label_for(field)
name = field.to_s.camelcase name = field.to_s.camelcase
return l(field) unless engine::Filter.const_defined? name return l(field) unless CostQuery::Filter.const_defined? name
l(engine::Filter.const_get(name).label) l(CostQuery::Filter.const_get(name).label)
end end
def debug_fields(result, prefix = ", ") def debug_fields(result, prefix = ", ")

Loading…
Cancel
Save