summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_work_item_links.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/issues/_work_item_links.html.haml')
-rw-r--r--app/views/projects/issues/_work_item_links.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/issues/_work_item_links.html.haml b/app/views/projects/issues/_work_item_links.html.haml
index 72f9ec2ff16..3deceacec8d 100644
--- a/app/views/projects/issues/_work_item_links.html.haml
+++ b/app/views/projects/issues/_work_item_links.html.haml
@@ -1 +1,5 @@
-.js-work-item-links-root{ data: { issuable_id: @issue.id, iid: @issue.iid, project_path: @project.full_path, wi: work_items_index_data(@project) } }
+.js-work-item-links-root{ data: { issuable_id: @issue.id, iid: @issue.iid,
+ project_path: @project.full_path,
+ wi: work_items_index_data(@project),
+ register_path: new_user_registration_path(redirect_to_referer: 'yes'),
+ sign_in_path: new_session_path(:user, redirect_to_referer: 'yes') } }