lib/spiderfw/templates/layout.rb in spiderfw-0.6.14 vs lib/spiderfw/templates/layout.rb in spiderfw-0.6.15
- old
+ new
@@ -343,9 +343,17 @@
end
module LayoutScene
+ def output_meta(type=nil)
+ type ||= :default
+ case type
+ when :default
+ $out << "<link rel=\"index\" href=\"#{self.controller[:request_url]}\">"
+ end
+ end
+
def output_assets(type=nil)
types = type ? [type] : self.assets.keys
use_cdn = Spider.conf.get('assets.use_cdn')
if types.include?(:js)
self.assets[:js].each do |ass|