Support the ongoing development of →
Views Architecture
Last updated 2 years ago.

All you need is to rename your method in your controller (like what you already did), then make the change in your Route too ...

at first you might be used:

Route::get('annoncer/create', 'YourController@create');

Then change to reflected the change of your method into this ...

Route::get('annoncer/opret', 'YourController@opret');
Last updated 2 years ago.

You don't even need to rename the method. You can use:

Route::get('annoncer/opret', 'YourController@create');

Which IMHO makes code more consistent (everything in one language).

Last updated 2 years ago.

Thanks guys, it worked flawlessly what you suggested! :)

Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?

Reached reached Joined 27 Feb 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.