summaryrefslogtreecommitdiff
path: root/app/helpers/work_items_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/work_items_helper.rb')
-rw-r--r--app/helpers/work_items_helper.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/helpers/work_items_helper.rb b/app/helpers/work_items_helper.rb
index 2c61fc20ca8..efa9a2bd463 100644
--- a/app/helpers/work_items_helper.rb
+++ b/app/helpers/work_items_helper.rb
@@ -4,7 +4,9 @@ module WorkItemsHelper
def work_items_index_data(project)
{
full_path: project.full_path,
- issues_list_path: project_issues_path(project)
+ issues_list_path: project_issues_path(project),
+ register_path: new_user_registration_path(redirect_to_referer: 'yes'),
+ sign_in_path: new_session_path(:user, redirect_to_referer: 'yes')
}
end
end