Код: Выделить всё
[list]
[*][url=/]Home[/url]
[*][url={{ route(]Services[/url]
[*][url=/login]Login[/url]
[*][url=/register]Register[/url]
[/list]
Код: Выделить всё
Route::get('/', [HomeController::class, 'index'])->name('home');
Route::get('/services', [ServiceController::class, 'index'])->name('services');
Route::get('/login', [UserController::class, 'login'])->name('login');
Route::get('/register', [UserController::class, 'register'])->name('register');
Route::middleware('auth')->group(function () {
Route::get('/dashboard', [UserController::class, 'dashboard'])->name('dashboard');
Route::get('/orders', [OrderController::class, 'index'])->name('orders');
Route::post('/orders', [OrderController::class, 'store'])->name('orders.store');
Route::get('/invoices', [OrderController::class, 'invoices'])->name('invoices');
Route::get('/funds', [UserController::class, 'funds'])->name('funds');
Route::post('/funds', [UserController::class, 'addFunds'])->name('funds.add');
});
Код: Выделить всё
index.blade.php
dashboard.blade.php
home.blade.php
services.blade.php
Запрошенный URL-адрес не найден на этом сервере. >
Подробнее здесь: https://stackoverflow.com/questions/792 ... -on-server
Мобильная версия