app/views/layouts/bhf/application.haml in bhf-0.10.17 vs app/views/layouts/bhf/application.haml in bhf-1.0.0.beta1

- old
+ new

@@ -10,13 +10,13 @@ %body = render partial: 'bhf/helper/flash', locals: {flash: flash} %header %h1 - - logo = if params[:bhf_area] && asset_exist?("logo_#{params[:bhf_area]}_bhf.svg") + - logo = if params[:bhf_area] - "logo_#{params[:bhf_area]}_bhf.svg" - else - - asset_exist?('logo_bhf.png') ? 'logo_bhf.png' : 'logo_bhf.svg' + - 'logo_bhf.svg' = link_to image_tag(logo), @root_link ? @root_link : main_app.root_url, data: {no_turbolink: true} - if @areas && @areas.length > 1 = select_tag :area_select, options_from_collection_for_select(@areas, 'path', 'name', main_app.bhf_path(params[:bhf_area])), class: 'icon'