css - jquery-ui icons not showing in production environment -


jquery-ui icons not showing on production server. in browser console, come 404 , fail load. work fine locally on development, i'm not sure going wrong.

i'm using custom theme, located in images subdirectory under vendor/assets/stylesheets.

does know causing these icons not show in production?

i've tried changing paths urls in css , precompiling assets on production already.

here how have set up:

vendor  assets   stylesheets     images      **icons , custom theme**     jquery-ui.css 

application.css.scss

  *= require_self   *= require foundation_and_overrides   *= require slick   *= require slick-theme   *= require jquery-ui   *= require main   */ 

image paths

here 1 of images not loading in production

 .ui-widget-content .ui-icon {    background-image: url("images/ui-icons_469bdd_256x240.png");  } 

for asset pipeline fingerprinting work, need use rails' helpers in css file:

.ui-widget-content .ui-icon {   background-image: url(<%= asset_path "images/ui-icons_469bdd_256x240.png" %>); } 

more details here.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -