]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix modernizr path in docs 3679/head
authorLeandro Cesquini Pereira <leandro.cesquini@gmail.com>
Sun, 24 Nov 2013 12:41:33 +0000 (10:41 -0200)
committerLeandro Cesquini Pereira <leandro.cesquini@gmail.com>
Sun, 24 Nov 2013 12:41:33 +0000 (10:41 -0200)
The corret path is vendor/modernizr as can be seen in foundation-rails gem:
https://github.com/zurb/foundation-rails/blob/master/vendor/assets/javascripts/vendor/modernizr.js

The path vendor/custom.modernizr gives the following error:
ActionController::RoutingError (No route matches [GET] "/javascripts/vendor/custom.modernizr.js"):

doc/pages/applications.html

index 5c567c7f13e2ff796d0e466e9a81fdadd78797dd..a537b26469ea7623308d47544513dc24766dd81f 100644 (file)
@@ -55,7 +55,7 @@ $(document).foundation();
 Make sure that Modernizr is included in the `<head>` of your page:
 
 ```ruby
-javascript_include_tag "vendor/custom.modernizr"
+javascript_include_tag "vendor/modernizr"
 ```
 
 ### Set Viewport Width
@@ -64,4 +64,4 @@ Add the following line to the `<head>` of your page layout:
 
 ```html
 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-```
\ No newline at end of file
+```