Skip to content

Commit

Permalink
Merge pull request #104 from leepeuker/hotfix-history-export
Browse files Browse the repository at this point in the history
Fix not reachable history export route
  • Loading branch information
leepeuker authored Aug 18, 2022
2 parents dad13a4 + 9c442d1 commit 82b9a57
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions settings/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
);
$routeCollector->addRoute(
'GET',
'/{username:.+}/dashboard',
'/{username:[a-zA-Z0-9]+}/dashboard',
[\Movary\HttpController\DashboardController::class, 'render']
);
$routeCollector->addRoute(
Expand Down Expand Up @@ -39,7 +39,7 @@
);
$routeCollector->addRoute(
'GET',
'/{username:.+}/history',
'/{username:[a-zA-Z0-9]+}/history',
[\Movary\HttpController\HistoryController::class, 'renderHistory']
);
$routeCollector->addRoute(
Expand Down Expand Up @@ -69,12 +69,12 @@
);
$routeCollector->addRoute(
'GET',
'/{username:.+}/most-watched-actors',
'/{username:[a-zA-Z0-9]+}/most-watched-actors',
[\Movary\HttpController\MostWatchedActorsController::class, 'renderPage']
);
$routeCollector->addRoute(
'GET',
'/{username:.+}/most-watched-directors',
'/{username:[a-zA-Z0-9]+}/most-watched-directors',
[\Movary\HttpController\MostWatchedDirectorsController::class, 'renderPage']
);
$routeCollector->addRoute(
Expand Down Expand Up @@ -104,7 +104,7 @@
);
$routeCollector->addRoute(
'GET',
'/{username:.+}/movie/{id:\d+}',
'/{username:[a-zA-Z0-9]+}/movie/{id:\d+}',
[\Movary\HttpController\MovieController::class, 'renderPage']
);
$routeCollector->addRoute(
Expand All @@ -119,7 +119,7 @@
);
$routeCollector->addRoute(
'GET',
'/{username:.+}/person/{id:\d+}',
'/{username:[a-zA-Z0-9]+}/person/{id:\d+}',
[\Movary\HttpController\PersonController::class, 'renderPage']
);
$routeCollector->addRoute(
Expand Down

0 comments on commit 82b9a57

Please sign in to comment.