Merge pull request #4723 from mcwumbly/fix-import-scripts
FIX: Import scripts were failing to load onebox sanitize config
This commit is contained in:
commit
49a0f16ce4
|
@ -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 }
|
Dir["#{Rails.root}/lib/onebox/engine/*_onebox.rb"].sort.each { |f| require f }
|
||||||
|
|
||||||
module Oneboxer
|
module Oneboxer
|
||||||
|
|
Loading…
Reference in New Issue