url facade in laravel 5 -
in l4 worked perfectly:
<a href="{{ url::to('autor/'.$o->surname)}}">{{$o->surname}}</a>
in l5 produces blank screen
and need resort this:
<a href="autor/{{ url::to($o->surname)}}">{{$o->surname}}</a>
how adjust syntax make work?
where docs me?
laravel 5 uses {{$var}} escape content , use {!!$var!!} echo unescaped strings
Comments
Post a Comment