[COMPONENT][CONTROLLER][TWIG] Recycle component work

This commit is contained in:
rainydaysavings
2020-09-04 00:13:58 +01:00
committed by Hugo Sales
parent 55e468bd70
commit a804c5f981
3 changed files with 15 additions and 9 deletions

View File

@@ -36,6 +36,7 @@ class Posting extends Module
public function onAddRoute($r)
{
$r->connect('note_reply', '/note/reply/{reply_to<\d*>}', [C\Post::class, 'reply']);
$r->connect('note_recycle', '/main/all', [C\Post::class, 'recycle']);
}
public function onStartTwigPopulateVars(array &$vars)