Skip to content
Snippets Groups Projects
Commit 39bb54fe authored by lol768's avatar lol768
Browse files

Fix registration error info typo

parent a9dcfd85
No related branches found
No related tags found
No related merge requests found
Loading
@@ -249,7 +249,7 @@ class User < ActiveRecord::Base
Loading
@@ -249,7 +249,7 @@ class User < ActiveRecord::Base
def namespace_uniq def namespace_uniq
namespace_name = self.username namespace_name = self.username
if Namespace.find_by(path: namespace_name) if Namespace.find_by(path: namespace_name)
self.errors.add :username, "already exist" self.errors.add :username, "already exists"
end end
end end
   
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment