I am creating a one page website using laravel where I have a login form and a registration form on the same page.
I wish to route them to their respective controller functions, say, AccessController@login
and AccessController@register
respectively.
How can I achieve this, when for both the forms the route would be:
Route::post('/', 'ControllerName@function')