1 year ago

Having two post request with different route name prefixes

Posted 1 year ago by Chron

Here's my web.php:

Route::post('schedule', '[email protected]')->name(''); //stores schedule
Route::post('schedule', '[email protected]')->name('schedule.toggle'); //temporarily disabling schedule

I noticed that toggle overrides store when I looked it up using r:l, how can I prevent doing that?

Please sign in or create an account to participate in this conversation.