From 39bb54feb3685d74f57109553e032b041644dc43 Mon Sep 17 00:00:00 2001 From: lol768 Date: Sun, 2 Mar 2014 18:45:38 +0000 Subject: Fix registration error info typo --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/models/user.rb b/app/models/user.rb index 855fe58ffe8..0ed3ab4521e 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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 -- cgit v1.2.1