public function registerRoutes(Map $map)
    {
        $map->attach('legacy.', '/', function (Map $map) {
            $map->get('polls', 'polls/', $this->controller(PollsController::class, 'polls'))->allows(['POST']);
        });
    }