mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 16:02:46 +08:00
parent
ccbe671e4a
commit
cd7ef6b49a
|
@ -204,7 +204,7 @@ GEM
|
|||
omniauth-twitter (1.0.1)
|
||||
multi_json (~> 1.3)
|
||||
omniauth-oauth (~> 1.0)
|
||||
onebox (1.2.4)
|
||||
onebox (1.2.3)
|
||||
hexpress (~> 1.2)
|
||||
moneta (~> 0.7)
|
||||
multi_json (~> 1.7)
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
|
||||
Dir["#{Rails.root}/lib/onebox/engine/*_onebox.rb"].each {|f|
|
||||
require_dependency(f.split('/')[-3..-1].join('/'))
|
||||
}
|
||||
|
||||
module Oneboxer
|
||||
|
||||
|
||||
# keep reloaders happy
|
||||
unless defined? Oneboxer::Result
|
||||
Result = Struct.new(:doc, :changed) do
|
||||
|
|
Loading…
Reference in New Issue
Block a user