I have a route that sends all data well to the controller, but when the data arrives at the URL the data becomes symbols. I understand that %7B%7B$ dato %7D%7D
is the same as {{$dato}}
Does anyone know how to avoid this?
public function code($status, $user){
return $this -> get('userstatus/{{$status}}/{{$user}}');
}
Result:
http://MyRuta/userstatus/%7B%7B$status%7D%7D/%7B%7B$user%7D%7D
It should be:
http://MyRuta/userstatus/24/125
When I do the following it works, but only with one variable, if I try with both it does not work:
public function code($status, $user){
return $this -> get('userstatus/.$status');
}
result:
http://MyRuta/userstatus/24