From: Thilo Utke Date: Thu, 9 Jan 2014 17:06:06 +0000 (+0100) Subject: added info about asset pipline config X-Git-Tag: v5.2.0~77^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4110%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git added info about asset pipline config Ammnded the documentation. In order to have modernizer available on production you have to add it to the precompile config to avoid issue #3672. Solution by @btsai --- diff --git a/doc/pages/applications.html b/doc/pages/applications.html index a537b2646..54d375c0b 100644 --- a/doc/pages/applications.html +++ b/doc/pages/applications.html @@ -49,6 +49,13 @@ Append the following lines to your `app/assets/javascripts/application.js` file: //= require foundation $(document).foundation(); ``` +### Configure Asset pipeline + +Add Modernizr to precompiled assets for production in `config/enviroments/production.rb`. + +```ruby +config.assets.precompile += %w( vendor/modernizr.js ) +``` ### Add Modernizr