diff options
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index 83b3ffe60..5a00a7fea 100644 --- a/lib/router.php +++ b/lib/router.php @@ -159,6 +159,12 @@ class Router array('action' => 'deletenotice'), array('notice' => '[0-9]+')); + // conversation + + $m->connect('conversation/:id', + array('action' => 'conversation'), + array('id' => '[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', |