Skip to content

Commit

Permalink
1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
psekan committed Nov 6, 2020
1 parent ab27e8c commit d15960a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
*/

$router->group(['prefix' => 'api'], function () use ($router) {
$router->get('version', function () use ($router) {
return $router->app->version();
$router->get('/', function () use ($router) {
return response()->json(['name' => 'Som v rade.sk API', 'version' => '1.1.1']);
});
$router->get('collectionpoints', 'CollectionPointsController@showAll');
$router->get('collectionpoints/{id}', 'CollectionPointsController@showOne');
Expand Down

0 comments on commit d15960a

Please sign in to comment.