Created
October 6, 2017 10:42
-
-
Save amitpatelx/3e6555ff89323eb89f6293ac6f7ba2a9 to your computer and use it in GitHub Desktop.
Disable Sign Up in Devise
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class User < ApplicationRecord | |
| # Include default devise modules. Others available are: | |
| # :confirmable, :lockable, :timeoutable and :omniauthable | |
| devise :database_authenticatable, :rememberable, :trackable, :validatable, :omniauthable | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment