Install and set up Devise

This commit is contained in:
riggraz
2019-08-18 18:51:25 +02:00
parent f3ed240965
commit fb924c9e75
11 changed files with 483 additions and 1 deletions

5
app/models/user.rb Normal file
View File

@@ -0,0 +1,5 @@
class User < ApplicationRecord
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :validatable,
:confirmable
end