Saturday, August 11, 2012

[Rails] Re: Rails 3.2 assets and jQuery_mobile css , issue with jquery image urls...

[SOLVED] I forgot I can move all these images into :
vendor/images/images ..
running fine now

On 11 août, 12:25, Erwin <yves_duf...@mac.com> wrote:
> I am testing my first mobile app using Rails 3.2 and jQuery_mobile
> running as expected , BUT  the app cannot display the images/icons
> from jQuery_mobile css...
>
> all urls are defined like that :
>
>         background-image: url(images/icons-18-white.png)
>
> and obviously it doesn't cope with Rails 3.3 asset management ...
> I am getting 'no route matches'  errors :
>
> Started GET "/assets/images/icons-18-white.png" for 127.0.0.1 at
> 2012-08-11 12:13:38 +0200
> ActionController::RoutingError (No route matches [GET] "/assets/images/
> icons-18-white.png"):
>
> is there anyway to solve this issue but modifying all  urls in the
> jQuery_mobile css  to be
> background-image: url(assets/icons-18-white.png)
>
> thanks for feedback

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate