let's try loading onebox engines this way
This commit is contained in:
parent
70b79328ab
commit
08d53b32ca
|
@ -1,6 +1,4 @@
|
||||||
Dir["#{Rails.root}/lib/onebox/engine/*_onebox.rb"].sort.each {|f|
|
Dir["#{Rails.root}/lib/onebox/engine/*_onebox.rb"].sort.each { |f| require f }
|
||||||
require_dependency(f.split('/')[-3..-1].join('/'))
|
|
||||||
}
|
|
||||||
|
|
||||||
module Oneboxer
|
module Oneboxer
|
||||||
# keep reloaders happy
|
# keep reloaders happy
|
||||||
|
|
Loading…
Reference in New Issue