app/views/phcscriptcdnpro/cdnsite/cdnpages/index.html.erb in phcscriptcdnpro-3.5.0 vs app/views/phcscriptcdnpro/cdnsite/cdnpages/index.html.erb in phcscriptcdnpro-3.5.1

- old
+ new

@@ -5,12 +5,12 @@ <div class="container"> <div class="row"> <div class="col-md-12"> <div class="list-group"> - <% @scriptcdn_mains.each do |scriptcdn_main| %> - <%= link_to phcscriptcdnpro.cdnsite_cdnpage_path(scriptcdn_main), class: "list-group-item" do %> - <h4 class="list-group-item-heading"><%= scriptcdn_main.scriptname %></h4> + <% @script_listings.each do |script_listing| %> + <%= link_to phcscriptcdnpro.cdnsite_cdnpage_path(script_listing), class: "list-group-item" do %> + <h4 class="list-group-item-heading"><%= script_listing.scripttitle %></h4> <% end %> <% end %> </div> </div>