app/views/layouts/bhf/application.haml in bhf-0.4.1 vs app/views/layouts/bhf/application.haml in bhf-0.4.2
- old
+ new
@@ -4,12 +4,12 @@
%meta{:charset => 'utf-8'}
%title= @title
= csrf_meta_tag
%link{:href => '/favicon.ico', :rel => 'icon', :type => 'image/x-icon'}
- ([:bhf] + Bhf::Engine.config.css.to_a).each do |css|
- = stylesheet_link_tag "/stylesheets/#{css}"
- = javascript_include_tag '/javascripts/bhf'
- =# javascript_include_tag '/javascripts/bhf/mootools-core-1.3.2-full-compat-yc.js', '/javascripts/bhf/mootools-more-1.3.2.1.js', '/javascripts/bhf/mootools_rails_driver-0.4.1.js', '/javascripts/bhf/class/BrowserUpdate', '/javascripts/bhf/class/Ajaxify', '/javascripts/bhf/class/AjaxEdit', '/javascripts/bhf/class/MooEditable', '/javascripts/bhf/class/Datepicker', '/javascripts/bhf/class/MultipleFields', '/javascripts/bhf/class/ArrayFields', '/javascripts/bhf/bhf_application'
+ = stylesheet_link_tag css
+ = javascript_include_tag 'bhf'
+ =# javascript_include_tag 'bhf/mootools-core-1.3.2-full-compat-yc.js', 'bhf/mootools-more-1.3.2.1.js', 'bhf/mootools_rails_driver-0.4.1.js', 'bhf/class/BrowserUpdate', 'bhf/class/Ajaxify', 'bhf/class/AjaxEdit', 'bhf/class/MooEditable', 'bhf/class/Datepicker', 'bhf/class/MultipleFields', 'bhf/class/ArrayFields', 'bhf/bhf_application'
%body
%header
%h1= link_to image_tag('/images/logo_bhf.png'), root_url
- if @config && @config.pages.any?
%nav