app/views/layouts/tramway/landing/_head.html.haml in tramway-landing-3.3 vs app/views/layouts/tramway/landing/_head.html.haml in tramway-landing-3.3.0.1
- old
+ new
@@ -9,7 +9,7 @@
= csrf_meta_tags
- if @application&.favicon.present?
= favicon_link_tag @application.favicon
- ::Tramway::Landing.head_content.each do |content|
- self.instance_exec &content
-- @tools.each do |tool|
+- @tools&.each do |tool|
= render "layouts/tramway/landing/tools/#{tool.title}_head", account_id: tool.account_id