diff --git a/appinfo/routes.php b/appinfo/routes.php index 097ad2a..a439188 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -17,5 +17,7 @@ return [ ['name' => 'group#create', 'url' => '/Groups', 'verb' => 'POST'], ['name' => 'group#update', 'url' => '/Groups/{id}', 'verb' => 'PUT'], ['name' => 'group#destroy', 'url' => '/Groups/{id}', 'verb' => 'DELETE'], + + ['name' => 'catch_all#index', 'url' => '/{path}', 'verb' => 'GET'], ] ]; diff --git a/lib/Controller/CatchAllController.php b/lib/Controller/CatchAllController.php new file mode 100644 index 0000000..aa40df8 --- /dev/null +++ b/lib/Controller/CatchAllController.php @@ -0,0 +1,22 @@ +