Commit 323c9e8e71fb608060f8499eed4df5b7d110205c
1 parent
41de08e5
Exists in
master
and in
28 other branches
Short name is too short!
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/profile.rb
@@ -618,7 +618,7 @@ private :generate_url, :url_options | @@ -618,7 +618,7 @@ private :generate_url, :url_options | ||
618 | end | 618 | end |
619 | 619 | ||
620 | include ActionView::Helpers::TextHelper | 620 | include ActionView::Helpers::TextHelper |
621 | - def short_name(chars = 15) | 621 | + def short_name(chars = 40) |
622 | if self[:nickname].blank? | 622 | if self[:nickname].blank? |
623 | truncate self.name, chars, '...' | 623 | truncate self.name, chars, '...' |
624 | else | 624 | else |