From efd3f944d0f00b740f6bb955012557e7fcc14e10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Henr=C3=ADquez?= Date: Mon, 22 Dec 2014 18:26:56 -0430 Subject: [PATCH] Fix small error in documentation. Both examples about how to exclude modules still had the modules to be disabled (:confirmable and :omniauthable respectively). --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f23ebed38..e032c5c5a 100644 --- a/README.md +++ b/README.md @@ -533,9 +533,9 @@ class User < ActiveRecord::Base # notice this comes BEFORE the include statement below # also notice that :confirmable is not included in this block - devise :database_authenticatable, :confirmable, - :recoverable, :trackable, :validatable, - :registerable + devise :database_authenticatable, :recoverable, + :trackable, :validatable, :registerable, + :omniauthable # note that this include statement comes AFTER the devise block above include DeviseTokenAuth::Concerns::User @@ -555,7 +555,7 @@ class User < ActiveRecord::Base # notice that :omniauthable is not included in this block devise :database_authenticatable, :confirmable, :recoverable, :trackable, :validatable, - :registerable, :omniauthable + :registerable include DeviseTokenAuth::Concerns::User end