Skip to content

Commit

Permalink
Merge pull request #39 from SunilYadav1961/main
Browse files Browse the repository at this point in the history
Removed unnecessary middleware from route
  • Loading branch information
PovilasKorop authored Nov 14, 2021
2 parents 553c13a + f9133b1 commit 5ee677b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/stubs/routes.stub
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Route::middleware('auth')->group(function () {
Route::view('about', 'about')->name('about')->middleware('auth');
Route::view('about', 'about')->name('about');

Route::get('users', [\App\Http\Controllers\UserController::class, 'index'])->name('users.index');

Expand Down

0 comments on commit 5ee677b

Please sign in to comment.