%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/core/routes/
Upload File :
Create Path :
Current File : /home/vacivi36/core/routes/web.php

<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| 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('welcome');
});
Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
Auth::routes();

// Sobrescreve a rota de registro padrão
Route::get('/register', function() {
    abort(403, 'Acesso não autorizado');
});

Route::post('/register', function() {
    abort(403, 'Acesso não autorizado');
});

// Sobrescreve as rotas de login
Route::get('/login', function() {
    abort(403, 'Acesso não autorizado');
});

Route::post('/login', function() {
    abort(403, 'Acesso não autorizado');
});

Zerion Mini Shell 1.0