From 4ff6e87fed5e06820a700a8d3044688d81f57962 Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Thu, 14 Dec 2017 11:22:28 +0100 Subject: [PATCH] Change invite users to project link to new settings page [SCI-1838] --- app/views/user_projects/_index_edit_footer.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/user_projects/_index_edit_footer.html.erb b/app/views/user_projects/_index_edit_footer.html.erb index dc44f17a6..3be515458 100644 --- a/app/views/user_projects/_index_edit_footer.html.erb +++ b/app/views/user_projects/_index_edit_footer.html.erb @@ -1,7 +1,9 @@ <% if is_admin_of_team(@project.team) %> - <%= link_to t('projects.index.modal_manage_users.invite_users_link'), team_path(@project.team.id) %> + <%= link_to t('projects.index.modal_manage_users.invite_users_link'), + "/settings/teams/#{@project.team.id}", + data: { turbolinks: false } %> <%=t 'projects.index.modal_manage_users.invite_users_details', team: @project.team.name %> <% else %> <%=t 'projects.index.modal_manage_users.contact_admins', team: @project.team.name %>