@@ -656,8 +656,7 class User < Principal | |||||
656 | (!admin? || User.active.where("admin = ? AND id <> ?", true, id).exists?) |
|
656 | (!admin? || User.active.where("admin = ? AND id <> ?", true, id).exists?) | |
657 | end |
|
657 | end | |
658 |
|
658 | |||
659 |
safe_attributes ' |
|
659 | safe_attributes 'firstname', | |
660 | 'firstname', |
|
|||
661 | 'lastname', |
|
660 | 'lastname', | |
662 | 'mail', |
|
661 | 'mail', | |
663 | 'mail_notification', |
|
662 | 'mail_notification', |
General Comments 0
You need to be logged in to leave comments.
Login now