summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-27 21:02:42 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-05-27 21:02:42 +0300
commit987b51b9112da3670d81ec0648b73f047d94f454 (patch)
tree20d7f6a1c15964c365f4c38c9b168943260b5289
parent8b64df58b956ea9c48c090503f921c3b923224b1 (diff)
downloadgitlab-ce-987b51b9112da3670d81ec0648b73f047d94f454.tar.gz
Fix 500 error on group.settings page
-rw-r--r--app/views/groups/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml
index d6a828feed7..0f8c140c067 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