Add missing asset precompilation config

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/6827/head
Alex Coles 11 years ago
parent 6ee8fe4a89
commit 8f211e316d
  1. 7
      lib/open_project/reporting/engine.rb

@ -69,6 +69,13 @@ module OpenProject::Reporting
require 'open_project/reporting/hooks'
end
initializer 'reporting.precompile_assets' do
Rails.application.config.assets.precompile += %w(
reporting_engine/reporting_engine.css
reporting_engine/reporting_engine.js
)
end
config.to_prepare do
require_dependency 'report/walker'
require_dependency 'report/transformer'

Loading…
Cancel
Save