fixed delete function of archive file

This commit is contained in:
Rueshyna 2012-12-28 10:02:16 +08:00
parent 2a122c7f5c
commit c219792a13
1 changed files with 2 additions and 2 deletions

View File

@ -6,11 +6,11 @@
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('archive_file_category.edit'), edit_panel_archive_back_end_archive_file_category_path(archive_file_category), :remote => true %></li>
<li><%= link_to t('archive_file_category.delete'), panel_archive_back_end_archive_file_category_path(archive_file_category), :confirm => t('announcement.sure?'), :method => :delete, :remote => true %></li>
<li><%= link_to t('archive_file_category.delete'), panel_archive_back_end_archive_file_category_path(archive_file_category), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
</ul>
</div>
</td>
<% @site_valid_locales.each do |locale| %>
<td><%= archive_file_category.title_translations[locale] rescue nil %></td>
<% end %>
</tr>
</tr>