app/views/layouts/tramway/landing/application.html.haml in tramway-landing-3.3 vs app/views/layouts/tramway/landing/application.html.haml in tramway-landing-3.3.0.1
- old
+ new
@@ -1,10 +1,10 @@
!!!
%html
%head
= render 'layouts/tramway/landing/head'
%body{ class: @application&.name }
- - @tools.each do |tool|
+ - @tools&.each do |tool|
- if tool.with_body_fragment?
= render "layouts/tramway/landing/tools/#{tool.title}_body", account_id: tool.account_id
= stylesheet_link_tag 'https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/css/mdb.min.css'
= javascript_include_tag 'https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.4.5/js/mdb.js'
= javascript_include_tag 'https://cdn.rawgit.com/CezarLuiz0/anchor.js/master/dist/anchor.min.js'