fixes #908
This commit is contained in:
@@ -27,7 +27,7 @@ class TagAliasRequest
|
||||
@forum_topic = ForumTopic.create(
|
||||
:title => "Tag alias: #{antecedent_name} -> #{consequent_name}",
|
||||
:original_post_attributes => {
|
||||
:body => reason + "\n\ncreate alias #{antecedent_name} -> #{consequent_name}\n\n\"Link to alias\":/tag_aliases?search[id]=#{tag_alias.id}\n\nLink to wiki: [[#{antecedent_name}]] -> [[#{consequent_name}]]"
|
||||
:body => "create alias [[#{antecedent_name}]] -> [[#{consequent_name}]]\n\n\"Link to alias\":/tag_aliases?search[id]=#{tag_alias.id}\n\n#{reason}"
|
||||
}
|
||||
)
|
||||
if @forum_topic.errors.any?
|
||||
|
||||
@@ -27,7 +27,7 @@ class TagImplicationRequest
|
||||
@forum_topic = ForumTopic.create(
|
||||
:title => "Tag implication: #{antecedent_name} -> #{consequent_name}",
|
||||
:original_post_attributes => {
|
||||
:body => reason + "\n\ncreate implication #{antecedent_name} -> #{consequent_name}\n\n\"Link to implication\":/tag_implications?search[id]=#{tag_implication.id}\n\nLink to wiki: [[#{antecedent_name}]] -> [[#{consequent_name}]]"
|
||||
:body => "create implication [[#{antecedent_name}]] -> [[#{consequent_name}]]\n\n\"Link to implication\":/tag_implications?search[id]=#{tag_implication.id}\n\n#{reason}"
|
||||
}
|
||||
)
|
||||
if @forum_topic.errors.any?
|
||||
|
||||
Reference in New Issue
Block a user