diff --git a/app/views/libraries/show.html.erb b/app/views/libraries/show.html.erb index 9de5e65e..f857a8ec 100644 --- a/app/views/libraries/show.html.erb +++ b/app/views/libraries/show.html.erb @@ -42,7 +42,7 @@
详情 - <% if admin_or_business? || @library.user_id == User.current.id && @Library.pending? %> + <% if admin_or_business? || @library.user_id == User.current.id && @library.pending? %> <%= link_to '删除', 'javascript:void(0);', data: { id: @library.id }, class: 'white-btn edu-blueline-btn fr ml20 delete-btn' %> <% end %>