This commit is contained in:
+16
-12
@@ -15,7 +15,6 @@ return [
|
||||
'/api/notifications' => [[['_route' => 'app_get_notifications', '_controller' => 'DMD\\LaLigaApi\\Controller\\NotificationController::getAllNotifications'], null, null, null, false, false, null]],
|
||||
'/api/register' => [[['_route' => 'app_user_register', '_controller' => 'DMD\\LaLigaApi\\Controller\\UserController::createUser'], null, ['POST' => 0], null, false, false, null]],
|
||||
'/api/user' => [[['_route' => 'app_user_delete', '_controller' => 'DMD\\LaLigaApi\\Controller\\UserController::deleteUser'], null, ['DELETE' => 0], null, true, false, null]],
|
||||
'/api/user/relationships' => [[['_route' => 'app_get_relationships', '_controller' => 'DMD\\LaLigaApi\\Controller\\UserController::getUserRelationships'], null, ['GET' => 0], null, false, false, null]],
|
||||
'/api/user/edit' => [[['_route' => 'app_update_user', '_controller' => 'DMD\\LaLigaApi\\Controller\\UserController::updateUser'], null, ['PUT' => 0], null, false, false, null]],
|
||||
'/api/user/password' => [[['_route' => 'app_user_change_password', '_controller' => 'DMD\\LaLigaApi\\Controller\\UserController::changePassword'], null, ['PUT' => 0], null, false, false, null]],
|
||||
'/api/login_check' => [[['_route' => 'api_login_check'], null, null, null, false, false, null]],
|
||||
@@ -32,16 +31,18 @@ return [
|
||||
.'|season/(?'
|
||||
.'|create(*:168)'
|
||||
.'|([^/]++)/(?'
|
||||
.'|team(*:192)'
|
||||
.'|facilities(?'
|
||||
.'|/create(*:220)'
|
||||
.'|(*:228)'
|
||||
.'|team(?'
|
||||
.'|(*:195)'
|
||||
.')'
|
||||
.'|calendar(*:245)'
|
||||
.'|facilities(?'
|
||||
.'|/create(*:224)'
|
||||
.'|(*:232)'
|
||||
.')'
|
||||
.'|calendar(*:249)'
|
||||
.')'
|
||||
.')'
|
||||
.')'
|
||||
.'|(*:256)'
|
||||
.'|(*:260)'
|
||||
.')'
|
||||
.')/?$}sDu',
|
||||
],
|
||||
@@ -52,11 +53,14 @@ return [
|
||||
120 => [[['_route' => 'app_accept_join_request', '_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::acceptJoinRequest'], ['leagueId', 'userId'], ['GET' => 0], null, false, false, null]],
|
||||
144 => [[['_route' => 'app_decline_join_request', '_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::declineJoinRequest'], ['leagueId', 'captainId'], ['GET' => 0], null, false, true, null]],
|
||||
168 => [[['_route' => 'app_add_season', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::addSeason'], ['leagueId'], ['POST' => 0], null, false, false, null]],
|
||||
192 => [[['_route' => 'app_add_team', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::addTeam'], ['leagueId', 'seasonId'], ['POST' => 0], null, false, false, null]],
|
||||
220 => [[['_route' => 'app_create_facilities', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::createFacilities'], ['leagueId', 'seasonId'], ['POST' => 0], null, false, false, null]],
|
||||
228 => [[['_route' => 'app_get_all_facilities', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::getAllFacilities'], ['leagueId', 'seasonId'], ['GET' => 0], null, true, false, null]],
|
||||
245 => [[['_route' => 'app_create_calendar', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::createCalendar'], ['leagueId', 'seasonId'], ['POST' => 0], null, false, false, null]],
|
||||
256 => [
|
||||
195 => [
|
||||
[['_route' => 'app_add_team', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::addTeam'], ['leagueId', 'seasonId'], ['POST' => 0], null, false, false, null],
|
||||
[['_route' => 'app_get_all_teams', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::getAllTeam'], ['leagueId', 'seasonId'], ['GET' => 0], null, false, false, null],
|
||||
],
|
||||
224 => [[['_route' => 'app_create_facilities', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::createFacilities'], ['leagueId', 'seasonId'], ['POST' => 0], null, false, false, null]],
|
||||
232 => [[['_route' => 'app_get_all_facilities', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::getAllFacilities'], ['leagueId', 'seasonId'], ['GET' => 0], null, true, false, null]],
|
||||
249 => [[['_route' => 'app_create_calendar', '_controller' => 'DMD\\LaLigaApi\\Controller\\SeasonController::createCalendar'], ['leagueId', 'seasonId'], ['POST' => 0], null, false, false, null]],
|
||||
260 => [
|
||||
[['_route' => 'app_get_league', '_controller' => 'DMD\\LaLigaApi\\Controller\\LeagueController::getLeagueById'], ['leagueId'], ['GET' => 0], null, false, true, null],
|
||||
[null, null, null, null, false, false, 0],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user