@extends('layout') @section('content') @php $editing = $affiliate !== null; $action = $editing ? 'afiliados/'.$affiliate->id : 'afiliados'; @endphp
O código identifica a origem das indicações.