Skip to content

Commit

Permalink
Fix typo in 8_building-a-front-end.md
Browse files Browse the repository at this point in the history
  • Loading branch information
driftingly authored Jan 8, 2024
1 parent 5bddccf commit cbc48cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Route::get('{slug}', [\App\Http\Controllers\PageDisplayController::class, 'show'
```

As you can see, we create a **get** route, that has **{slug}** as uri. Our second argument is our callable. This we
could have also written as 'PageDisplayController::show'. However, by using a proper namespace, it is easier to follow.
could have also written as 'PageDisplayController@show'. However, by using a proper namespace, it is easier to follow.

Once you save this file, head to your browser and visit: `https://your-local-domain.test/example`

Expand Down

0 comments on commit cbc48cc

Please sign in to comment.