Commit 96098b343271f9e021d78131793444eae38e15b4
Committed by
Daniela Feitosa
1 parent
8657a206
Exists in
master
and in
29 other branches
[multiple-templates] Minor fix on community name setter
(ActionItem2378)
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/community.rb
@@ -61,7 +61,7 @@ class Community < Organization | @@ -61,7 +61,7 @@ class Community < Organization | ||
61 | 61 | ||
62 | def name=(value) | 62 | def name=(value) |
63 | super(value) | 63 | super(value) |
64 | - self.identifier = value.to_slug | 64 | + self.identifier ||= value.to_slug |
65 | end | 65 | end |
66 | 66 | ||
67 | def default_template | 67 | def default_template |