mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-11 00:02:05 -05:00
5 lines
220 B
Ruby
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)
|