Hi,
I’m a bit stumped as to how to use Mongrel::RedirectHandler
I’ve got a config script in my rails lib directory call assets.rb
assets.rb contains:
uri “/assets”, :handler =>
Mongrel::RedirectHandler.new("/path/to/redirect/to"), :in_front => true
How to I get this to redirect assets/foo.jpg to
/assets/subdirectory/foo.jpg. HOw do I access the request parameters?
Regards
Adam G.