PHP Classes

File: routes/web.php

Recommend this page to a friend!
  Classes of Everton C B Junior   Joćo de Barro   routes/web.php   Download  
File: routes/web.php
Role: Example script
Content type: text/plain
Description: Class source
Class: Joćo de Barro
Manage the orders of handcrafted products
Author: By
Last change:
Date: 2 months ago
Size: 693 bytes
 

Contents

Class file image Download
<?php

use Illuminate\Support\Facades\Route;
use
App\Http\Controllers\{HomeController, UsersController};

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return
view('auth.login');
});

Auth::routes();
Route::get('/resumo', [HomeController::class, 'index'])->name('home');
Route::resource('users', UsersController::class);