I am trying to pass data to the view using show method. here is my code to go show method <a href=""></a>
This is my show method
public function show($id)
{
$name = User::find($id);
return route('user.show',$name,compact($name));
}
This is my view code
<div class="title m-b-md">
Individual page
</div>
But it is showing me just '\' this symbol in my view as output.Even while I am not give in my view it also show this symbol. can you please help me please
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2fecZQ1
via IFTTT
Aucun commentaire:
Enregistrer un commentaire