Fix typo in the the newmessage route.

This commit is contained in:
Adrian Lang 2009-03-13 22:06:02 +01:00 committed by Evan Prodromou
parent 0b436ec997
commit 221c61a499
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class Router
array('notice' => '[0-9]+'));
$m->connect('message/new', array('action' => 'newmessage'));
$m->connect('message/new?to=:to', array('action' => 'newmessage'), array('to' => '[A-Za-z0-9_-]'));
$m->connect('message/new?to=:to', array('action' => 'newmessage'), array('to' => '[A-Za-z0-9_-]+'));
$m->connect('message/:message',
array('action' => 'showmessage'),
array('message' => '[0-9]+'));