Fixed relative path of view

Using URL::to() makes this work regardless of installation path
Merge pull request #2 from AppSynergy/master

Fixed relative path of view