Laravel - Routes
How can we use a route inside our view?
<form action="{{ route('signup') }}" method="post">
How can our controller method redirect the user to another route?
return redirect()->route('dashboard');
How can we protect access for certain routes?
Specifies the 'middleware' => 'auth' to our route or add a new route group and put all the routes that need protection inside this group.
page revision: 2, last edited: 22 Oct 2016 08:40