instance method
location=
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
location=(url)
No documentation comment.
Parameters
-
urlreq
Source
# File actionpack/lib/action_dispatch/http/response.rb, line 151
def location=(url)
headers[LOCATION] = url
end
Defined in actionpack/lib/action_dispatch/http/response.rb line 151
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Response