diff options
author | Adrian Lang <mail@adrianlang.de> | 2009-02-25 16:59:32 +0100 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-27 15:45:24 -0800 |
commit | d92beda526f1495d16b54880a40ebb3c7d7e5f2e (patch) | |
tree | f67bee051840d381a634d949cb1a528cca15eba4 | |
parent | 3f7d70c5e4c5e91d552cc629a9371109cb859bc3 (diff) |
Add route for new message to user.
-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]+')); |