Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a8af71b

Browse files
✨ Create route endpoint for welcome.blade.php
1 parent c415008 commit a8af71b

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

‎routes/web.php‎

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,7 @@
11
<?php
22

33
use Illuminate\Support\Facades\Route;
4+
use App\Http\Controllers\FileController;
45

5-
/*
6-
|--------------------------------------------------------------------------
7-
| Web Routes
8-
|--------------------------------------------------------------------------
9-
|
10-
| Here is where you can register web routes for your application. These
11-
| routes are loaded by the RouteServiceProvider within a group which
12-
| contains the "web" middleware group. Now create something great!
13-
|
14-
*/
6+
Route::get('/', [FileController::class, 'index']);
157

16-
Route::get('/', function () {
17-
return view('welcome');
18-
});

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /