fix for update and create of journal paper

This commit is contained in:
Harry Bomrah 2015-04-28 17:53:13 +08:00
parent 922f957fdc
commit 6be7eea61f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
<div class="quick-edit"> <div class="quick-edit">
<ul class="nav nav-pills hide"> <ul class="nav nav-pills hide">
<% if has_access? %> <% if has_access? %>
<li><%= link_to t('edit'), edit_admin_journal_paper_path(writing_journal) %></li> <li><%= link_to t('edit'), '/admin/members/'+@member.to_param+'/journal_papers/'+writing_journal.id+'/edit' %></li>
<li><%= link_to t(:delete_), admin_journal_paper_path(id: writing_journal.id, member_profile_id: @member.id), method: :delete, remote: true, data: { confirm: t('sure?') } %></li> <li><%= link_to t(:delete_), admin_journal_paper_path(id: writing_journal.id, member_profile_id: @member.id), method: :delete, remote: true, data: { confirm: t('sure?') } %></li>
<% end %> <% end %>
</ul> </ul>