竞赛通知删除功能ok

This commit is contained in:
wanglinchun 2014-06-07 11:46:01 +08:00
parent 467f8f54e1
commit 53ded67d9d
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
:class => 'icon icon-edit',
:accesskey => accesskey(:edit),
:onclick => '$("#edit-contestnotifications").show(); return false;') if User.current%>
<%= delete_link contest_contestnotification_path(@contestnotification) if User.current%>
<%= delete_link contest_contestnotification_path(@contest, @contestnotification) if User.current%>
</div>
<h3><strong><%=h @contestnotification.title %></strong></h3>