forked from saurabh/personal-journal
fix for update and create of journal paper
This commit is contained in:
parent
922f957fdc
commit
6be7eea61f
|
@ -51,7 +51,7 @@
|
|||
<div class="quick-edit">
|
||||
<ul class="nav nav-pills hide">
|
||||
<% 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>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue