Add route for new message to user.

This commit is contained in:
Adrian Lang 2009-02-25 16:59:32 +01:00 committed by Evan Prodromou
parent 3f7d70c5e4
commit d92beda526

View File

@ -154,6 +154,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/:message',
array('action' => 'showmessage'),
array('message' => '[0-9]+'));