lib/onebox/layout.rb in onebox-1.5.25 vs lib/onebox/layout.rb in onebox-1.5.26

- old
+ new

@@ -49,14 +49,19 @@ def domain return record[:domain] if record[:domain] URI(link || '').host end + def repository_path + record[:repository_path] + end + def details { link: record[:link], title: record[:title], domain: domain, + repository_path: repository_path, subname: view.template_name, view: view.to_html } end end