Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Route [welcome] not defined. (View: C:\xampp\htdocs\blog\resources\views\welcome.blade.php) #25

Open
sxopedeveloper opened this issue Oct 29, 2021 · 0 comments

Comments

@sxopedeveloper
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant