# File lib/action_view/helpers/prototype_helper.rb, line 518 def redirect_to(location) assign 'window.location.href', @context.url_for(location) end