Hello,
Am facing a weird issue with merb and nginx. i tried my best to
solve that , but couldn't able to do that.
i can able to upload images in my application. i have specified the
path as public/teachers/hostel_staff
am saving the images in hostel_staff directory.
when i made a deploy ment using capistrano or vlad in my server, i
cant able to see the uploaded images in my site. again i have to go to
edit and upload a new image then i can able to see the image.
I have provided my ngin config as
location / {
# doc root
root /home/eshwar/schoolapp/current/generic/public;
}
this is my code for displaying image in the view
<img src= "/teachers/hostel_staff/<%= @attachment.filename %>"
alt="<%= @attachment.filename %>", class = "prinPic"/>
can i have some suggestions regarding this issues..
Am struck with this issue.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---