Skip to content

Commit

Permalink
Merge pull request #1 from thewebartisan7/patch-1
Browse files Browse the repository at this point in the history
Added missing web middleware
  • Loading branch information
mattfletcher authored Oct 26, 2020
2 parents b58f1a0 + f8b29a3 commit a6ca2cd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions routes/web.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

Route::get('/demo', static function () {
return view('laravel-uikit::demo');
})->name('demo');
Route::middleware('web')->group(function () {
Route::get('/demo', static function () {
return view('laravel-uikit::demo');
})->name('demo');
});

0 comments on commit a6ca2cd

Please sign in to comment.