     fetchReplacement url, options
 
   @fullPageNavigate: (url) ->
-    triggerEvent('page:before-full-refresh', url: url)
-    document.location.href = url
+    if url?
+      url = (new ComponentUrl(url)).absolute
+      triggerEvent('page:before-full-refresh', url: url)
+      document.location.href = url
+    return
 
   @pushState: (state, title, url) ->
     window.history.pushState(state, title, url)


    xhr.onload = ->
      if xhr.status >= 500
        Turbolinks.fullPageNavigate(url.absolute)
      else
        Turbolinks.loadPage(url, xhr, options)
      xhr = null

      if xhr.statusText == "abort"
        xhr = null
        return
      Turbolinks.fullPageNavigate(url)

    xhr.send()

