jquery-ui-themes-rails
jquery-ui-themes-rails copied to clipboard
Paths to theme images in style sheets must match the location of the images
Hi!
Thanks for the gem update!
Looks like the version has snuck into the image paths in the style sheets again. I suspect the same issue as issue #5 .
Running
grep -R "jquery-ui/1.11.4/" `bundle show jquery-ui-themes`
lists 384 references from style sheets to this versioned directory.
How are these URLs inserted into the style sheets?
Any update on this?
I'm also getting routing errors having just updated from jquery-ui-themes-0.0.11 to jquery-ui-themes-0.0.12. because the image_path in the CSS files is including the version number:
ActionController::RoutingError (No route matches [GET] "/assets/jquery-ui/1.11.4/overcast/ui-bg_inset-hard_75_999999_1x100.png"):
Going back to 0.0.11 for now.
Can confirm this problem still existing. Just upgraded to 0.0.12 on Rails 5.0 and some asset links were broken, giving these errors:
ActionController::RoutingError (No route matches [GET] "/images/jquery-ui/1.11.4/ui-lightness/ui-icons_ffffff_256x240.png"):
Gem jquery-rails, jquery-ui-rails and jquery-ui-themes are present (in this order) in the Gemfile and application.css.scss has *= require jquery-ui/ui-lightness
Going back to 0.0.11 fixes this problem for me, but I do not know if there are compatibility issues with the other (newer) versions of jquery gems.