I have a button in my index. I want to call another page like I do in laravel 5.2? Was it through the routes?
I have a button in my index. I want to call another page like I do in laravel 5.2? Was it through the routes?
Correct is to use the structure of MVC
going through Controller
In your View :
<a href="pagina">Ir</a>
...
In the routes.php file:
Route::get('pagina', 'SeuController@redireciona');
And in your YourController :
public function redireciona()
{
//Manda para view responsável pela página
return view('suaview');
}