I've added paperclip to my admin subsite and i get a routing error

ActionController::RoutingError (No route matches "/admin/images/photos/
thumbnail/7_kurwamac.jpg" with {:method=>:get}):

My model that has a clip attached is called Image and its in the
http://localhost:3000/admin/images subsite
I'd like to keep my pics at the standard: %app_root%/public/images/
photos
how do I set up url and path symbols for that in my Image model? do i
need to modify routes.rb ?



Second question. Can I divert my admin uploaded images to "app_root/
public/images/photos " and user uploaded ones to say "app_root/public/
images/users" if I'd create say a model called UserImages and attach
paperclip to it or is the setting for paperclip global?

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to