Hi,
I'm working on rails project, on version 3.2.6, so I have problems with
assets in production mode. On localhost everything works fine because
assets are in folder app/assets, but on production server assets are
precompiled
and set in public folder.
Now in images folder in assets I created new folder pdfimages, so path
is
assets/images/pdfimages. I have action in controller which enables file
to upload. File should be uploaded to pdfimages folder. So how can I do
this on production. Is the correct path
'assets/pdfimages/image.jpg' because it doesnt work for me?
Also, what is correct path to json file stored in assets/javascripts
when defining it from jquery on production server?
Is it assets/example.json
Thanks in advance
--
Posted via http://www.ruby-forum.com/.
--
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.
No comments:
Post a Comment