Use Url.redirect! in the urls controller.