diff --git a/appinfo/routes.php b/appinfo/routes.php index 022fc5a..5bf935d 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -6,7 +6,7 @@ return [ 'routes' => [ /* Resources */ ['name' => 'resource#show', 'url' => '/resources/{resourceId}', 'verb' => 'GET'], - ['name' => 'resource#create', 'url' => '/resources/{resourceId}', 'verb' => 'POST'], + ['name' => 'resource#create', 'url' => '/resources', 'verb' => 'POST'], ['name' => 'resource#update', 'url' => '/resources/{resourceId}', 'verb' => 'PUT'], ['name' => 'resource#subResources', 'url' => '/resources/{resourceId}/subResources', 'verb' => 'GET'], ['name' => 'resource_member#index', 'url' => '/resources/{resourceId}/members', 'verb' => 'GET'],