Add active status to user show/edit.
This commit is contained in:
@@ -6,7 +6,7 @@ class User < ActiveRecord::Base
|
||||
:recoverable, :rememberable, :trackable, :validatable
|
||||
|
||||
# Setup accessible (or protected) attributes for your model
|
||||
attr_accessible :email, :password, :password_confirmation, :remember_me, :name, :admin
|
||||
attr_accessible :email, :password, :password_confirmation, :remember_me, :name, :admin, :active
|
||||
|
||||
has_many :cards
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user