Let admin can choose user attributes checkbox
This commit is contained in:
1 parent
a40b117fbe
commit
263da6aa9f
5 files changed
+28
-8
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ class User
|
||||
|
||||
devise :authenticatable, :recoverable, :rememberable, :trackable
|
||||
|
||||
# key :use_attributes
|
||||
key :use_attributes, Array
|
||||
|
||||
def method_missing(method)
|
||||
safe_read(method)
|
||||
|
||||
Reference in new issue
Block a user