fixes #1193
This commit is contained in:
@@ -4,8 +4,8 @@ class TagAliasRequest
|
|||||||
attr_reader :antecedent_name, :consequent_name, :reason, :tag_alias, :forum_topic
|
attr_reader :antecedent_name, :consequent_name, :reason, :tag_alias, :forum_topic
|
||||||
|
|
||||||
def initialize(antecedent_name, consequent_name, reason)
|
def initialize(antecedent_name, consequent_name, reason)
|
||||||
@antecedent_name = antecedent_name.tr(" ", "_")
|
@antecedent_name = antecedent_name.strip.tr(" ", "_")
|
||||||
@consequent_name = consequent_name.tr(" ", "_")
|
@consequent_name = consequent_name.strip.tr(" ", "_")
|
||||||
@reason = reason
|
@reason = reason
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ class TagImplicationRequest
|
|||||||
attr_reader :antecedent_name, :consequent_name, :reason, :tag_implication, :forum_topic
|
attr_reader :antecedent_name, :consequent_name, :reason, :tag_implication, :forum_topic
|
||||||
|
|
||||||
def initialize(antecedent_name, consequent_name, reason)
|
def initialize(antecedent_name, consequent_name, reason)
|
||||||
@antecedent_name = antecedent_name.tr(" ", "_")
|
@antecedent_name = antecedent_name.strip.tr(" ", "_")
|
||||||
@consequent_name = consequent_name.tr(" ", "_")
|
@consequent_name = consequent_name.strip.tr(" ", "_")
|
||||||
@reason = reason
|
@reason = reason
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user