akalongman / akalongman/laravel-multilang
Route [welcome] not defined. (View: C:\xampp\htdocs\blog\resources\views\welcome.blade.php)
Aperta
- Lingua principale
- PHP
- Stelle
- 54
- Fork
- 15
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
When i add two routes in MultiLang::routeGroup in web.php file one is home and second is welcome.
MultiLang::routeGroup(function($router) {
Route::get('home', [IndexController::class, 'home'])->name('home');
Route::get('welcome', [IndexController::class, 'welcome'])->name('welcome');
});
So in IndexController create home method and create welcome.blade.php file.
now in blade file i have defined route('welcome') so it's return this error.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.