Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
77d4d5e3
Commit
77d4d5e3
authored
Jun 03, 2016
by
Z.J. van de Weg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🚓
parent
9d491712
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
app/services/issues/move_service.rb
app/services/issues/move_service.rb
+6
-6
No files found.
app/services/issues/move_service.rb
View file @
77d4d5e3
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment