lib/onebox/layout.rb in onebox-1.8.17 vs lib/onebox/layout.rb in onebox-1.8.18

- old
+ new

@@ -18,10 +18,10 @@ if @record[:image] && @record[:image] =~ /^\/[^\/]/ @record[:image] = "#{uri.scheme}://#{uri.host}/#{@record[:image]}" end @md5 = Digest::MD5.new - @view = View.new(name, record) + @view = View.new(name, @record) @template_name = "_layout" @template_path = load_paths.last end def to_html