diff --git a/lib/oneboxer.rb b/lib/oneboxer.rb index cef2fe53df2..c117331f229 100644 --- a/lib/oneboxer.rb +++ b/lib/oneboxer.rb @@ -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