module Turbolinks::XHRUrlFor

Public Instance Methods

url_for(options = {}) click to toggle source
Calls superclass method
# File lib/turbolinks/xhr_url_for.rb, line 17
def url_for(options = {})
  options = (controller.request.headers["X-XHR-Referer"] || options) if options == :back
  super options
end