# File lib/action_controller/deprecated_redirects.rb, line 12 def redirect_to_url(url, permanently = false) headers["Status"] = "301 Moved Permanently" if permanently redirect_to(url) end