Commit 77d4d5e3 authored by Z.J. van de Weg's avatar Z.J. van de Weg

🚓

parent 9d491712
...@@ -74,12 +74,12 @@ module Issues ...@@ -74,12 +74,12 @@ module Issues
end end
def rewrite_award_emoji def rewrite_award_emoji
@old_issue.award_emoji.each do |award| @old_issue.award_emoji.each do |award|
new_award = award.dup new_award = award.dup
new_award.awardable = @new_issue new_award.awardable = @new_issue
new_award.save new_award.save
end end
end end
def rewrite_content(content) def rewrite_content(content)
return unless content return unless content
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment