diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/router.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index 95ce77e5e..4b70c0150 100644 --- a/lib/router.php +++ b/lib/router.php @@ -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]+')); |