Skip to content

Commit

Permalink
Merge pull request #91 from edgarhenriquez/master
Browse files Browse the repository at this point in the history
Fix small error in documentation.
  • Loading branch information
lynndylanhurley committed Dec 22, 2014
2 parents 332da27 + efd3f94 commit dc55f62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit dc55f62

Please sign in to comment.