fix ntue new member default non-administrator and announcement image size & file name cannot be null

This commit is contained in:
Spen authored and Manson Wang committed 2013-10-16 17:01:38 +08:00
1 parent 9849b5c7dd
commit 048f67c6da
7 files changed
+40 -21

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ class User
mount_uploader :avatar, AvatarUploader
field :admin, :type => Boolean, :default => true
field :admin, :type => Boolean, :default => false
field :active_role
field :user_id
field :sid