app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb in phcscriptcdnpro-1.6.8 vs app/views/phcscriptcdnpro/scriptcdn/urls/index.html.erb in phcscriptcdnpro-1.6.9

- old
+ new

@@ -39,11 +39,11 @@ </tr> </thead> <tbody> <% @scriptcdn_urls.each do |scriptcdn_url| %> <tr> - <td><%= link_to scriptcdn_url.scripturl, edit_scriptcdn_main_url_path %></td> - <td><%= link_to 'Destroy', scriptcdn_main_url, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td> + <td><%= link_to scriptcdn_url.scripturl, edit_scriptcdn_main_url_path(scriptcdn_url.main, scriptcdn_url) %></td> + <td><%= link_to 'Destroy', scriptcdn_main_url_path(scriptcdn_url.main, scriptcdn_url), method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %></td> </tr> <% end %> </tbody> </table> </div>