Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit d28cb0c

Browse files
committed
feat: update routes to work with new modules
1 parent 29b82b1 commit d28cb0c

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

app/routes/_app.php

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<?php
22

3-
app()->get("/", function () {
4-
response()->json(["message" => "Congrats!! You're on Leaf API"]);
5-
});
6-
7-
app()->get("/app", function () {
8-
// app() returns $app
9-
response()->json(app()->routes());
3+
app()->get('/', function () {
4+
response()->json(['message' => 'Congrats!! You\'re on Leaf API']);
105
});

0 commit comments

Comments
 (0)