fix mobile modernizer with asset pipeline
This commit is contained in:
parent
bfbae50e5a
commit
56312a3148
2 changed files with 3 additions and 1 deletions
2
app/assets/javascripts/mobile_modernizr.js
Normal file
2
app/assets/javascripts/mobile_modernizr.js
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
//= require mbp-modernizr-custom
|
||||
//= require mbp-respond.min
|
||||
|
|
@ -34,7 +34,7 @@
|
|||
= stylesheet_link_tag :mobile, :format => 'all'
|
||||
= yield(:custom_css)
|
||||
|
||||
= javascript_include_tag 'mbp-modernizr-custom', 'mbp-respond.min'
|
||||
= javascript_include_tag 'mobile_modernizr'
|
||||
|
||||
= csrf_meta_tag
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue