Rails gem for automatically turning internal links into ajax links that load content without a full page reload.
Uses the html5 history interface for changing the url and making the browser's back and forward buttons working with ajax. Falls back to a hash based approach for browsers without the history interface (like Internet Explorer). Transparently handles redirects and supports flash messages and page titles. Requires Ruby 1.9 and the asset pipeline.
Inspired by the pjax_rails gem (https://github.com/rails/pjax_rails)
Add this line to your application's Gemfile:
And then execute:
In your application.js file add:
//= require ajaxify_rails
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request