app/views/phcscriptcdnpro/scriptcdn/informations/index.html.erb in phcscriptcdnpro-1.7.9 vs app/views/phcscriptcdnpro/scriptcdn/informations/index.html.erb in phcscriptcdnpro-1.7.10

- old
+ new

@@ -26,11 +26,11 @@ <div class="portlet-title"> <div class="caption"> <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span> </div> <div class="actions"> - <%= link_to phcscriptcdnpro.new_scriptcdn_main_path, class: "btn blue-chambray" do %> + <%= link_to phcscriptcdnpro.new_scriptcdn_information_path, class: "btn blue-chambray" do %> <i class="fa fa-plus"></i> Add a New Script for CDN <% end %> </div> </div> @@ -52,22 +52,22 @@ <th></th> </tr> </thead> <tbody> - <% @scriptcdn_information.each do |scriptcdn_information| %> + <% @scriptcdn_informations.each do |scriptcdn_informations| %> <tr> - <td><%= link_to scriptcdn_information.scripttitle, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.scriptdescription, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.scriptcategory, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.scriptwebsite, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.scripttwitter, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.scriptgithub, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.scriptinitialrelease, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.scriptlicence, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.scriptplatform, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.version, edit_scriptcdn_information_path(scriptcdn_information) %></td> - <td><%= link_to scriptcdn_information.main, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.scripttitle, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.scriptdescription, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.scriptcategory, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.scriptwebsite, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.scripttwitter, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.scriptgithub, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.scriptinitialrelease, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.scriptlicence, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.scriptplatform, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.version, edit_scriptcdn_information_path(scriptcdn_information) %></td> + <td><%= link_to scriptcdn_informations.main, edit_scriptcdn_information_path(scriptcdn_information) %></td> <td><%= link_to 'Destroy', scriptcdn_information, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> </table>