I am new to Laravel, when I am using redirect()->route(‘route_name’) after saving data, it does not work. Here is my controller function: Here are my routes : Any help will be appreciated. Answer You need to add the return keyword
Tag: routes
codeigniter 4 – Controller or its method is not found
it’s running fine when i tested in local server, but when i uploaded 000webhost server to it’s showing an error. an error My Routes: my routes : can anyone helping me? my controller an error i try to hide detail’s method in url, it’s running fine in local server but why it’s showing an error when i uploaded to web
Laravel view with variable, missing required parameters for route
I am losing too much time for (I am sure) a small missing, but I am not able to find it. Here my issue. I want to create an open blade, so without authentication, with a variable parameter in the …
Getting Controller does not exist after moving my controller to sub folder in laravel 5
I have created a resource full route which was pointing to a CRUD controller in App/Http/Controller/SeatController.php my Route in api.php Route::resource(‘websites’, ‘SeatController’); I wanted to put all controllers related to Seat inside a directory. I created a directory named Seat and I moved all of my controllers related to Seat to it. it’s path is : AppHttpControllersSeatSeatController before change it’s
Class AppHttpControllersWelcomeController does not exist
I’m new in Laravel and I can’t understand why the controller doesn’t work. Can you help me? Thanks. This is the routes.php file: routes.php This is the WelcomeController controller: WelcomeController.php and this is the exception trowed: ReflectionException in Container.php line 737: Class AppHttpControllersWelcomeController does not exist Answer You need a WelcomeController.php file in directory Controllers, and you have it in