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
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?
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
renderhas not be modified in this version oflib/turbolinks/redirection.rbas with the classic version.But even if I replace
render :new, turbolinks: truewithredirect_tothe overridden redirect_to did not kick in and do aTurbolinks.visit().lib/turbolinks/redirection.rbwithrendersupport? I have bunch of places whererender :***** , turbolinks: trueis called.$.get({ url: url, dataType: 'script' })call for theTurbolinks.visitto kick in?