More RESTish URL (/notice/:notice/delete) for notice delete
Also returns to 'top' now after notice deletion.
This commit is contained in:
@@ -244,12 +244,10 @@ class Router
|
||||
array('action' => 'shownotice'),
|
||||
array('notice' => '[0-9]+'));
|
||||
|
||||
$m->connect('notice/delete/:notice',
|
||||
$m->connect('notice/:notice/delete',
|
||||
array('action' => 'deletenotice'),
|
||||
array('notice' => '[0-9]+'));
|
||||
|
||||
$m->connect('notice/delete', array('action' => 'deletenotice'));
|
||||
|
||||
// conversation
|
||||
|
||||
$m->connect('conversation/:id',
|
||||
|
Reference in New Issue
Block a user