This commit is contained in:
albert
2013-03-17 21:32:32 -04:00
parent a1945948fb
commit 0c8a3f25a7
2 changed files with 2 additions and 2 deletions

View File

@@ -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?

View File

@@ -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?