feat: JSON API
This commit is contained in:
parent
618fb8416a
commit
74505cea57
4 changed files with 84 additions and 1 deletions
|
@ -51,6 +51,10 @@ $app->get(
|
|||
'/redirect',
|
||||
[$controller, 'redirect']
|
||||
)->setName('redirect');
|
||||
$app->get(
|
||||
'/json',
|
||||
[$controller, 'json']
|
||||
)->setName('json');
|
||||
$app->get(
|
||||
'/locale/{locale}',
|
||||
[$controller, 'locale']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue