/turboforms

Turbolinks behaviour for forms

Primary LanguageRubyMIT LicenseMIT

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