You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 25, 2021. It is now read-only.
I have a Rails 4.2.7.1 app and upgraded Turbolinks only:
gem 'turbolinks', github: 'turbolinks/rails'
P.S. App doesn't use any partial replacement.
I have a jQuery ajax call e.g.
$.get({ url: url, dataType: 'script' })
In my Rails controller I have a:
render :new, turbolinks: true
I see that render has not be modified in this version of lib/turbolinks/redirection.rb as with the classic version.
But even if I replace render :new, turbolinks: true with redirect_to the overridden redirect_to did not kick in and do a Turbolinks.visit().
Are there plans to port over classic's lib/turbolinks/redirection.rb with render support? I have bunch of places where render :***** , turbolinks: true is called.
Is there something I need to add to the $.get({ url: url, dataType: 'script' }) call for the Turbolinks.visit to kick in?
The text was updated successfully, but these errors were encountered:
I have a Rails 4.2.7.1 app and upgraded Turbolinks only:
P.S. App doesn't use any partial replacement.
I have a jQuery ajax call e.g.
In my Rails controller I have a:
I see that
render
has not be modified in this version oflib/turbolinks/redirection.rb
as with the classic version.But even if I replace
render :new, turbolinks: true
withredirect_to
the overridden redirect_to did not kick in and do aTurbolinks.visit()
.lib/turbolinks/redirection.rb
withrender
support? I have bunch of places whererender :***** , turbolinks: true
is called.$.get({ url: url, dataType: 'script' })
call for theTurbolinks.visit
to kick in?The text was updated successfully, but these errors were encountered: