Преглед изворни кода

redirect root route to backend admin

CodeCommitAccess+1-at-632418466995 пре 3 недеља
родитељ
комит
93f41cad9a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      routes/web.php

+ 1
- 1
routes/web.php Прегледај датотеку

@@ -3,5 +3,5 @@
3 3
 use Illuminate\Support\Facades\Route;
4 4
 
5 5
 Route::get('/', function () {
6
-    return view('welcome');
6
+    return redirect("admin");
7 7
 });