Commit 987b51b9112da3670d81ec0648b73f047d94f454
1 parent
8b64df58
Exists in
master
and in
4 other branches
Fix 500 error on group.settings page
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/groups/edit.html.haml
... | ... | @@ -26,7 +26,7 @@ |
26 | 26 | .pull-right |
27 | 27 | = link_to 'Team', project_team_index_path(project), id: "edit_#{dom_id(project)}", class: "btn btn-small" |
28 | 28 | = link_to 'Edit', edit_project_path(project), id: "edit_#{dom_id(project)}", class: "btn btn-small" |
29 | - = link_to 'Remove', project, remove_project_message(project), method: :delete, class: "btn btn-small btn-remove" | |
29 | + = link_to 'Remove', project, confirm: remove_project_message(project), method: :delete, class: "btn btn-small btn-remove" | |
30 | 30 | - if @group.projects.blank? |
31 | 31 | %p.nothing_here_message This group has no projects yet |
32 | 32 | ... | ... |