Commit 96098b343271f9e021d78131793444eae38e15b4

Authored by Rodrigo Souto
Committed by Daniela Feitosa
1 parent 8657a206

[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 61  
62 62 def name=(value)
63 63 super(value)
64   - self.identifier = value.to_slug
  64 + self.identifier ||= value.to_slug
65 65 end
66 66  
67 67 def default_template
... ...