fix devise
This commit is contained in:
parent
c8eeb28826
commit
06fd7bd37a
@ -15,7 +15,7 @@ class Member < ApplicationRecord
|
|||||||
:recoverable, :rememberable, :validatable, :async
|
:recoverable, :rememberable, :validatable, :async
|
||||||
|
|
||||||
def skip_conf!
|
def skip_conf!
|
||||||
self.confirm! if Rails.env.development?
|
self.confirm if Rails.env.development?
|
||||||
end
|
end
|
||||||
|
|
||||||
mount_uploader :picture, PictureUploader
|
mount_uploader :picture, PictureUploader
|
||||||
|
Loading…
Reference in New Issue
Block a user