From 391d4df3d1b9187205674b1b35b6a43dac5f8f4c Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Fri, 6 Jun 2014 16:33:00 +0800 Subject: [PATCH] sdf --- app/views/contestnotifications/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/contestnotifications/show.html.erb b/app/views/contestnotifications/show.html.erb index 85d81a61d..ec73b9c4c 100644 --- a/app/views/contestnotifications/show.html.erb +++ b/app/views/contestnotifications/show.html.erb @@ -76,7 +76,7 @@ <%= format_time(notificationcomment.created_at) %> - <%= link_to_if_authorized image_tag('delete.png'), {:controller => 'notificationcomments', :action => 'destroy', :id => @contestnotifications, :notificationcomment_id => notificationcomment}, + <%= link_to_if_authorized_contest image_tag('delete.png'), {:controller => 'notificationcomments', :action => 'destroy', :id => @contestnotifications, :notificationcomment_id => notificationcomment}, :data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :title => l(:button_delete) %>