Merge pull request #4723 from mcwumbly/fix-import-scripts

FIX: Import scripts were failing to load onebox sanitize config
This commit is contained in:
Sam 2017-02-27 16:18:29 -05:00 committed by GitHub
commit 49a0f16ce4
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
require_dependency "./lib/onebox/discourse_onebox_sanitize_config"
require_dependency "#{Rails.root}/lib/onebox/discourse_onebox_sanitize_config"
Dir["#{Rails.root}/lib/onebox/engine/*_onebox.rb"].sort.each { |f| require f }
module Oneboxer