mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
FIX: Bunch of Onebox issues
This commit is contained in:
parent
0e6325d172
commit
ccbe671e4a
2 changed files with 1 additions and 7 deletions
|
@ -204,7 +204,7 @@ GEM
|
||||||
omniauth-twitter (1.0.1)
|
omniauth-twitter (1.0.1)
|
||||||
multi_json (~> 1.3)
|
multi_json (~> 1.3)
|
||||||
omniauth-oauth (~> 1.0)
|
omniauth-oauth (~> 1.0)
|
||||||
onebox (1.2.3)
|
onebox (1.2.4)
|
||||||
hexpress (~> 1.2)
|
hexpress (~> 1.2)
|
||||||
moneta (~> 0.7)
|
moneta (~> 0.7)
|
||||||
multi_json (~> 1.7)
|
multi_json (~> 1.7)
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
|
|
||||||
Dir["#{Rails.root}/lib/onebox/engine/*_onebox.rb"].each {|f|
|
|
||||||
require_dependency(f.split('/')[-3..-1].join('/'))
|
|
||||||
}
|
|
||||||
|
|
||||||
module Oneboxer
|
module Oneboxer
|
||||||
|
|
||||||
|
|
||||||
# keep reloaders happy
|
# keep reloaders happy
|
||||||
unless defined? Oneboxer::Result
|
unless defined? Oneboxer::Result
|
||||||
Result = Struct.new(:doc, :changed) do
|
Result = Struct.new(:doc, :changed) do
|
||||||
|
|
Loading…
Reference in a new issue