[Poll] Fixed ShowPoll route, moved Poll Entity, created NewPollForm

Entity was temporarily moved to src/Entity in order to load from DB, since it is yet no possible to do that from Plugin
This commit is contained in:
Daniel
2020-11-03 15:53:46 +00:00
committed by Hugo Sales
parent 03f02bed4d
commit dbb55362c8
6 changed files with 74 additions and 20 deletions

View File

@@ -42,6 +42,8 @@ class Reply extends Module
public function onAddRoute($r)
{
$r->connect('note_reply', '/note/reply/{reply_to<\\d*>}', [self::class, 'replyController']);
return Event::next;
}
/**