Hi, We have routes setup for downloading images / documents
get 'photo/:id/:style.:format', :controller => 'resource', :action => 'photo' get 'photos/thumb/missing.png', :controller => 'resource', :action => 'photo_missing' get 'resume/:id/:style.:format', :controller => 'resource', :action => 'resume' get 'file/:id/:style.:format', :controller => 'resource', :action => 'file' Nginx config is skipping the routing though. Do I need to prevent all images from being served directly to resolve it or is there a better way? location ~* \.(js|css|jpe?g|png|gif|ico|eot|woff|ttf|swf)$ Thanks, -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" 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/rails-oceania?hl=en.
