head 1.1; access ; symbols ; locks ;comment @@; 1.1 date 2014.11.11.10.18.19; author p4; state Exp; branches ; next ; desc @@ 1.1 log @@ text @<h1>Listing gets</h1> <table> <thead> <tr> <th>Home</th> <th colspan="3"></th> </tr> </thead> <tbody> <% @@gets.each do |get| %> <tr> <td><%= get.home %></td> <td><%= link_to 'Show', get %></td> <td><%= link_to 'Edit', edit_get_path(get) %></td> <td><%= link_to 'Destroy', get, method: :delete, data: { confirm: 'Are you sure?' } %></td> </tr> <% end %> </tbody> </table> <br> <%= link_to 'New Get', new_get_path %> @