In L4 this worked perfectly:
<a href="{{ URL::to('autor/'.$o->surname)}}">{{$o->surname}}</a>
In L5 it produces blank screen
and I need to resort to this:
<a href="autor/{{ URL::to($o->surname)}}">{{$o->surname}}</a>
How to adjust syntax to make it work?
Where are docs which would help me?