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

laravel 5 docs


Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -