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 Jul 28, 2018. It is now read-only.
I have tried with both way "Client-side partial replacement", "Server-side partial replacement" but its not working. Its render the page but not replacing the div content.
Gemfile:
gem 'turbolinks', :github => 'rails/turbolinks', :branch => 'master'
My code is..
def test
render :test, change: ['tabs']
end
view index.html.slim
= link_to "render test in tabs", test_users_path
tabs.tab-pane
Expected :
When I will click on "render test in tabs" link, test action partial should be render in "#tabs".
The text was updated successfully, but these errors were encountered:
The documentation is not so explicit and I cannot make @caike suggestion to work.
I'm having hard time as well understanding how this works.
Did you find a way to sort that out?
Is there any hope or should I just drop it?
I just want to load content asynchronously but maybe it's not the right tool.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have tried with both way "Client-side partial replacement", "Server-side partial replacement" but its not working. Its render the page but not replacing the div content.
Gemfile:
gem 'turbolinks', :github => 'rails/turbolinks', :branch => 'master'
My code is..
def test
render :test, change: ['tabs']
end
view index.html.slim
= link_to "render test in tabs", test_users_path
tabs.tab-pane
Expected :
When I will click on "render test in tabs" link, test action partial should be render in "#tabs".
The text was updated successfully, but these errors were encountered: