diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-19 04:41:13 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-12-19 04:41:13 +0000 |
commit | 16e8818d9e93d868180bcc31d7ea30122db1324c (patch) | |
tree | 67ab16749c1cb5619a3dcf01fb92b120fd3e50c7 /app/models/user.rb | |
parent | 3ce595b806777bdba8b2b8d18c739567d77a91b4 (diff) | |
download | redmine-16e8818d9e93d868180bcc31d7ea30122db1324c.tar.gz redmine-16e8818d9e93d868180bcc31d7ea30122db1324c.zip |
remove trailing white-spaces from app/models/user.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8296 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 5eff881cb..92e341411 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -622,7 +622,7 @@ end class AnonymousUser < User validate :validate_anonymous_uniqueness, :on => :create - + def validate_anonymous_uniqueness # There should be only one AnonymousUser in the database errors.add :base, 'An anonymous user already exists.' if AnonymousUser.find(:first) |