summaryrefslogtreecommitdiff
path: root/app/views/notify/reassigned_issue_email.text.erb
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-03 01:26:40 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-09-03 01:33:02 +0200
commitc586192813ad73e306a97b57f4cc97b00aaa6ca6 (patch)
treeffe078c76be6c2040932308dbcdd66e44a94caee /app/views/notify/reassigned_issue_email.text.erb
parent4102eb3b85a1a9d43bebe116066719e6b0872566 (diff)
downloadgitlab-ce-c586192813ad73e306a97b57f4cc97b00aaa6ca6.tar.gz
Fix missing to on reassign MR text email to unassigned.
Factors out text MR and issue email.
Diffstat (limited to 'app/views/notify/reassigned_issue_email.text.erb')
-rw-r--r--app/views/notify/reassigned_issue_email.text.erb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/notify/reassigned_issue_email.text.erb b/app/views/notify/reassigned_issue_email.text.erb
index 4becac2749c..710253be984 100644
--- a/app/views/notify/reassigned_issue_email.text.erb
+++ b/app/views/notify/reassigned_issue_email.text.erb
@@ -1,5 +1 @@
-Reassigned Issue <%= @issue.iid %>
-
-<%= url_for(project_issue_url(@issue.project, @issue)) %>
-
-Assignee changed <%= "from #{@previous_assignee.name}" if @previous_assignee %> to <%= "#{@issue.assignee_id ? @issue.assignee_name : 'Unassigned'}" %>
+<%= render 'reassigned_issuable_email', issuable: @issue %>