big refactor for test and admin namespace
This commit is contained in:
@@ -12,6 +12,7 @@ class User
|
||||
before_save :ensure_authentication_token
|
||||
|
||||
view :by_authentication_token, key: :authentication_token
|
||||
view :by_email, key: :email
|
||||
|
||||
def list_is_closed!
|
||||
self.active_list_id = nil
|
||||
|
||||
Reference in New Issue
Block a user