I have a link where I already pass a variable to the controller. It works ok. How do I get through two?
My link in View:
<a href="{{url("/ordemvar/$equipam->codigoequipamento")}}"><i class="glyphicon glyphicon-tasks"></i></a>
Would it be something like this?
<a href="{{url("/ordemvar/$equipam->id?$equipam->codigoequipamento")}}"><i class="glyphicon glyphicon-tasks"></i></a>
How do I get the controller
public function pegaEquipa($prm)
{
return $prm;
}
Thanks