Allow admins to edit user's email notifications and preferences. #3503

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4223 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis committed 2010-09-28 22:13:06 +00:00
1 parent 26ef9da02b
commit 437690119b
7 files changed
+88 -18

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ class User < Principal
validates_confirmation_of :password, :allow_nil => true
def before_create
self.mail_notification = Setting.default_notification_option
self.mail_notification = Setting.default_notification_option if self.mail_notification.blank?
true
end