app/views/phcscriptcdnpro/script/licences/show.html.erb in phcscriptcdnpro-3.4.0 vs app/views/phcscriptcdnpro/script/licences/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="licence_button_group">
- <%= link_to 'Edit', edit_script_licence_path(@script_licence), class: "btn btn-primary" %>
- <%= link_to 'Destroy', script_licence_path(@script_licence), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
+ <%= link_to 'Edit', edit_script_licence_path, class: "btn btn-primary" %>
+ <%= link_to 'Destroy', script_licence_path, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-danger" %>
</div>
</div>
</div>