method

location=

rails latest stable - Class: ActionDispatch::Response

Method not available on this version

This method is only available on newer versions. The first available version (v3.0.0) is shown here.

location=(url)
public

No documentation available.

# File actionpack/lib/action_dispatch/http/response.rb, line 122
    def location=(url)
      headers['Location'] = url
    end