diff options
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index d0bf8c9fd..6dc7cfefb 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -7,15 +7,17 @@ return [ 'routes' => [ ['name' => 'Navigation#navigate', 'url' => '/', 'verb' => 'GET'], - // Setup a new session ['name' => 'Session#create', 'url' => '/session/create', 'verb' => 'GET'], - // Load initial document ['name' => 'Session#fetch', 'url' => '/session/fetch', 'verb' => 'GET'], - // Load steps ['name' => 'Session#sync', 'url' => '/session/sync', 'verb' => 'POST'], - // Push own steps ['name' => 'Session#push', 'url' => '/session/push', 'verb' => 'POST'], - // Close session ['name' => 'Session#close', 'url' => '/session/close', 'verb' => 'GET'], + + ['name' => 'PublicSession#create', 'url' => '/public/session/create', 'verb' => 'GET'], + ['name' => 'PublicSession#fetch', 'url' => '/public/session/fetch', 'verb' => 'GET'], + ['name' => 'PublicSession#sync', 'url' => '/public/session/sync', 'verb' => 'POST'], + ['name' => 'PublicSession#push', 'url' => '/public/session/push', 'verb' => 'POST'], + ['name' => 'PublicSession#close', 'url' => '/public/session/close', 'verb' => 'GET'], + ] ]; |