* mostly complete

This commit is contained in:
Danyi Dávid
2018-05-06 13:53:46 +02:00
parent 27248bd3e3
commit 2f3577b614
93 changed files with 2604 additions and 331 deletions

View File

@@ -36,13 +36,15 @@ return function (Application $app, MiddlewareFactory $factory, ContainerInterfac
$app->get('/', App\Handler\HomePageHandler::class, 'home');
$app->get('/api/ping', App\Handler\PingHandler::class, 'api.ping');
$app->get('/the-prize', App\Handler\HomePageHandler::class, 'the-prize');
$app->get('/the-prize/background-and-purpose', App\Handler\HomePageHandler::class, 'the-prize.bg');
$app->get('/the-prize/description-and-values', App\Handler\HomePageHandler::class, 'the-prize.desc');
$app->get('/the-prize/aspect-for-selection', App\Handler\HomePageHandler::class, 'the-prize.aspect');
$app->get('/the-prize/gran-prize-award-events', App\Handler\HomePageHandler::class, 'the-prize.events');
$app->get('/the-prize', App\Handler\PrizeRedirectHandler::class, 'the-prize');
$app->get(
'/the-prize/{article:background-and-purpose|description-and-values|aspect-for-selection|gran-prize-award-events}',
App\Handler\ArticleHandler::class,
'the-prize.article'
);
$app->get('/judges', App\Handler\HomePageHandler::class, 'judges');
$app->get('/awardees', App\Handler\HomePageHandler::class, 'awardees');
$app->get('/awardees/{year:\d+}', App\Handler\HomePageHandler::class, 'awardees-by-year');
$app->get('/judges', App\Handler\JudgesHandler::class, 'judges');
$app->get('/awardees', App\Handler\AwardeeRedirectHandler::class, 'awardees');
$app->get('/awardees/{year:\d+}', App\Handler\AwardeeHandler::class, 'awardees-by-year');
$app->get('/awardee/{slug}', App\Handler\ProfileHandler::class, 'awardee');
};