Commit 6b522bf9508e2cb154be674cb153dd19fdb90959
Exists in
spb-stable
and in
3 other branches
Merge pull request #6457 from lol768/patch-1
Fix registration error info typo
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/user.rb
... | ... | @@ -249,7 +249,7 @@ class User < ActiveRecord::Base |
249 | 249 | def namespace_uniq |
250 | 250 | namespace_name = self.username |
251 | 251 | if Namespace.find_by(path: namespace_name) |
252 | - self.errors.add :username, "already exist" | |
252 | + self.errors.add :username, "already exists" | |
253 | 253 | end |
254 | 254 | end |
255 | 255 | ... | ... |