Merge pull request #6457 from lol768/patch-1

Fix registration error info typo
This commit is contained in:
Sytse Sijbrandij 2014-03-19 16:06:31 +01:00
commit 6b522bf950

View file

@ -249,7 +249,7 @@ class User < ActiveRecord::Base
def namespace_uniq
namespace_name = self.username
if Namespace.find_by(path: namespace_name)
self.errors.add :username, "already exist"
self.errors.add :username, "already exists"
end
end