Turbolinks behaviour for forms
Ruby CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
MIT-LICENSE
README.md
turboforms.gemspec

README.md

Turboforms

Turbolinks behaviour for forms.

Installation

  1. Add to your Gemfile:
gem 'turbolinks', git: 'git://github.com/fs/turbolinks.git'
gem 'turboforms', git: 'git://github.com/fs/turboforms.git'
  1. Run bundle install.
  2. Add to your Javascript manifest file (usually found at app/assets/javascripts/application.js).
//= require turbolinks
//= require jquery.turboforms
  1. Add turboform: true attribute to make your form turbo powered.
  2. Restart your server and you're now using turboforms!

With Devise

Make sure you have disabled config.http_authenticatable_on_xhr