Commit 39bb54feb3685d74f57109553e032b041644dc43
1 parent
a9dcfd85
Exists in
spb-stable
and in
3 other branches
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,7 +249,7 @@ class User < ActiveRecord::Base | ||
249 | def namespace_uniq | 249 | def namespace_uniq |
250 | namespace_name = self.username | 250 | namespace_name = self.username |
251 | if Namespace.find_by(path: namespace_name) | 251 | if Namespace.find_by(path: namespace_name) |
252 | - self.errors.add :username, "already exist" | 252 | + self.errors.add :username, "already exists" |
253 | end | 253 | end |
254 | end | 254 | end |
255 | 255 |