feat: JSON API

This commit is contained in:
Pierre Rudloff 2018-03-20 12:02:21 +01:00
parent 618fb8416a
commit 74505cea57
4 changed files with 84 additions and 1 deletions

View file

@ -51,6 +51,10 @@ $app->get(
'/redirect',
[$controller, 'redirect']
)->setName('redirect');
$app->get(
'/json',
[$controller, 'json']
)->setName('json');
$app->get(
'/locale/{locale}',
[$controller, 'locale']