summaryrefslogtreecommitdiff
path: root/app/views/dashboard/projects.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/dashboard/projects.html.haml')
-rw-r--r--app/views/dashboard/projects.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/dashboard/projects.html.haml b/app/views/dashboard/projects.html.haml
index a0ef76c8f2c..b42bbf58dc4 100644
--- a/app/views/dashboard/projects.html.haml
+++ b/app/views/dashboard/projects.html.haml
@@ -71,7 +71,7 @@
- if current_user.can_leave_project?(project)
.pull-right
- = link_to leave_project_team_members_path(project), confirm: "Leave project?", method: :delete, remote: true, class: "btn-tiny btn remove-row", title: 'Leave project' do
+ = link_to leave_project_team_members_path(project), data: { confirm: "Leave project?"}, method: :delete, remote: true, class: "btn-tiny btn remove-row", title: 'Leave project' do
%i.icon-signout
Leave