From 987b51b9112da3670d81ec0648b73f047d94f454 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 27 May 2013 21:02:42 +0300 Subject: [PATCH] Fix 500 error on group.settings page --- app/views/groups/edit.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml index d6a828f..0f8c140 100644 --- a/app/views/groups/edit.html.haml +++ b/app/views/groups/edit.html.haml @@ -26,7 +26,7 @@ .pull-right = link_to 'Team', project_team_index_path(project), id: "edit_#{dom_id(project)}", class: "btn btn-small" = link_to 'Edit', edit_project_path(project), id: "edit_#{dom_id(project)}", class: "btn btn-small" - = link_to 'Remove', project, remove_project_message(project), method: :delete, class: "btn btn-small btn-remove" + = link_to 'Remove', project, confirm: remove_project_message(project), method: :delete, class: "btn btn-small btn-remove" - if @group.projects.blank? %p.nothing_here_message This group has no projects yet -- libgit2 0.21.2