discourse/config/initializers/10-discourse_iife.rb
2015-04-16 16:51:49 -04:00

5 lines
220 B
Ruby

require 'discourse_iife'
require 'source_url'
Rails.application.assets.register_preprocessor('application/javascript', DiscourseIIFE)
Rails.application.assets.register_postprocessor('application/javascript', SourceURL)