0
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 set the link with the @yield
I tried to make the following code, but I was unsuccessful, it shows as if the 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