0
-<h1>Listing locations</h1>
0
+ <h1>Listing locations</h1>
0
-<% for location in @locations %>
0
- <td><%=h location.name %></td>
0
- <td><%=h location.lat %></td>
0
- <td><%=h location.lng %></td>
0
- <td><%=h location.street %></td>
0
- <td><%=h location.zip %></td>
0
- <td><%=h location.city %></td>
0
- <td><%=h location.description %></td>
0
- <td><%= link_to 'Show', location %></td>
0
- <td><%= link_to 'Edit', edit_location_path(location) %></td>
0
- <td><%= link_to 'Destroy', location, :confirm => 'Are you sure?', :method => :delete %></td>
0
+ <% for location in @locations %>
0
+ <td><%=h location.name %></td>
0
+ <td><%=h location.lat %></td>
0
+ <td><%=h location.lng %></td>
0
+ <td><%=h location.street %></td>
0
+ <td><%=h location.zip %></td>
0
+ <td><%=h location.city %></td>
0
+ <td><%=h location.description %></td>
0
+ <td><%= link_to 'Show', location %></td>
0
+ <td><%= link_to 'Edit', edit_location_path(location) %></td>
0
+ <td><%= link_to 'Destroy', location, :confirm => 'Are you sure?', :method => :delete %></td>
0
-<%= link_to 'New location', new_location_path %>
0
+ <%= link_to 'New location', new_location_path %>
0
\ No newline at end of file