aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHeiko Bernloehr <rushb@nflecs1.rus.uni-stuttgart.de>2012-11-12 16:33:21 +0100
committerHeiko Bernloehr <Heiko.Bernloehr@FreeIT.de>2012-11-12 16:50:02 +0100
commit29d6dd5bb33afc52067ba7e2351d6c3b85b75c16 (patch)
treec5a23dcb620ccff6a5e30b8925505f27a735e57e /app
parentb6915e9452f6650c3bb95169c317d24f136ea46e (diff)
downloadecs2-29d6dd5bb33afc52067ba7e2351d6c3b85b75c16.tar.gz
ecs2-29d6dd5bb33afc52067ba7e2351d6c3b85b75c16.zip
Fix deleting participants.
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/participants/list.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/participants/list.html.haml b/app/views/admin/participants/list.html.haml
index a35aa6a..618312f 100644
--- a/app/views/admin/participants/list.html.haml
+++ b/app/views/admin/participants/list.html.haml
@@ -46,4 +46,4 @@
%td
= link_to 'Show', admin_participant_url(:id => participant)
= link_to 'Edit', edit_admin_participant_url(:id => participant)
- = link_to 'Destroy', admin_participant_url(:id => participant)
+ = link_to 'Destroy', admin_participant_url(:id => participant),:confirm => 'Are you sure?', :method => :delete