app/views/phcscriptcdnpro/script/authors/show.html.erb in phcscriptcdnpro-3.4.0 vs app/views/phcscriptcdnpro/script/authors/show.html.erb in phcscriptcdnpro-3.4.1
- old
+ new
@@ -36,11 +36,11 @@
</div>
<div class="portlet-body">
<div class="btn-group" role="group" aria-label="author_button_group">
- <%= link_to 'Edit', edit_script_listing_author_path(@script_author), class: "btn btn-primary" %>
- <%= link_to 'Destroy', script_listing_author_path(@script_author), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
+ <%= link_to 'Edit', edit_script_listing_author_path, class: "btn btn-primary" %>
+ <%= link_to 'Destroy', script_listing_author_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
</div>
</div>
</div>