Fixed relative path of view

Using URL::to() makes this work regardless of installation path