I’m trying to make unsubscribe link and currently got a route like
map.unsubscribe ‘/unsubscribe/:email’, :controller => ‘foo’, :action
However when I put an email address in the url, it generates “no
route” error. It’s probably caused by the dot in email addresses.
I’m using Rails 1.2.6. Any ideas how to fix it?
Thanks in advance