change hard coded route to use URL class.

See https://github.com/Zizaco/confide/issues/28