I'm trying to create a template
for my control panel in Laravel.
I want the top right corner to have a BACK button, where I can link to @yield
I tried to make the following code, but I was not successful, it shows as if href
was blank
// layouts.master.blade.php
<a href="@yield('voltar')">Voltar</a>
and on the extended page
// usuario.editar.php
@extends('../layouts.master')
@section('voltar')
dashboard
@stop