app/views/layouts/bhf/application.haml in bhf-0.6.15 vs app/views/layouts/bhf/application.haml in bhf-0.6.20
- old
+ new
@@ -4,13 +4,10 @@
%meta{charset: 'utf-8'}
%title= @title
%link{href: '/favicon.ico', rel: 'icon', type: 'image/x-icon'}
- (['bhf/application'] + Bhf::Engine.config.css.to_a).each do |css|
= stylesheet_link_tag css
- - (['bhf/application'] + Bhf::Engine.config.js.to_a).each do |js|
- = javascript_include_tag js, {:'data-turbolinks-eval' => false}
-
%body
%header
%h1
- logo = Rails.application.assets.find_asset('logo_bhf.png') ? 'logo_bhf.png' : 'logo_bhf.svg'
= link_to image_tag(asset_path(logo)), root_url, :'data-no-turbolink' => true
@@ -28,6 +25,8 @@
%footer
= render 'bhf/user'
= render 'bhf/footer'
- =# yield :js_inject
+ - (['bhf/application'] + Bhf::Engine.config.js.to_a).each do |js|
+ = javascript_include_tag js, {:'data-turbolinks-eval' => false}
+