Re: Router pass email

2009-03-31 Thread brian
I guess the .de looks like an extension. Why it would strip it from your route is another question. You could avoid this altogether (depending on your situation) by POSTing the email address to your action. If this link is auto-generated and included in a newsletter email, I guess that'd be out o

Re: Router pass email

2009-03-31 Thread hasentopf
Hi again. In my routes.php I also got: Router::parseExtensions('rss'); This entry is necessary for creating a RSS feed with the RssHelper. When the Router::parseExtensions('rss'); comes before Router::connect ('/newsletter/unsubscribe/:email', array('controller' => 'newsletterReceivers',

Router pass email

2009-03-31 Thread hasentopf
Hi. I've got a problem with Route passing parameters to action. routes.php: Router::connect('/newsletter/unsubscribe/:email', array('controller' => 'newsletterReceivers', 'action' => 'unsubscribe'), array('pass' => array('email'))); NewsletterReceiversController: function unsubscribe($email = nu