Skip to content

Commit ab8b30d

Browse files
committed
feat: update labels to add middleware
1 parent 8cdc5a6 commit ab8b30d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/routes/index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030

3131
/*
3232
|--------------------------------------------------------------------------
33-
| Set up Controller namespace
33+
| Set middleware for all routes
3434
|--------------------------------------------------------------------------
3535
|
36-
| This allows you to directly use controller names instead of typing
37-
| the controller namespace first.
36+
| You can use app()->use() to load middleware for all
37+
| routes in your application.
3838
|
3939
*/
40-
app()->setNamespace('\App\Controllers');
40+
// app()->use(ExampleMiddleware::class);
4141

4242
/*
4343
|--------------------------------------------------------------------------

app/views/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class="relative bg-transparent dark:bg-[#001318] w-full h-[70px] flex items-cent
167167
<div class="mx-auto sm:px-6 lg:px-8 px-4 w-full">
168168
<div class="flex flex-col items-center gap-3 sm:flex-row sm:justify-between">
169169
<div class="flex flex-col-reverse items-center gap-3 sm:flex-row"><span
170-
class="text-sm text-gray-700 dark:text-gray-300">Leaf MVC v4.x-alpha - PHP
170+
class="text-sm text-gray-700 dark:text-gray-300">Leaf MVC v4.x-Beta - PHP
171171
v{{ PHP_VERSION }}</span>
172172
</div>
173173
<ul class="flex items-center justify-end gap-3">

0 commit comments

Comments
 (0)