Cleaned up User admin index

This commit is contained in:
ricky committed 2013-01-24 02:35:14 -05:00
1 parent 75f594f9ea
commit 0fe499b701
3 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ class User < ActiveRecord::Base
validates :username, :presence => true, :uniqueness => true
# Setup accessible (or protected) attributes for your model
attr_accessible :username, :email, :password, :password_confirmation, :remember_me
attr_accessible :username, :email, :password, :password_confirmation, :remember_me, :is_admin
has_many :topics, :dependent => :destroy
has_many :posts, :dependent => :destroy