test/integration/app/app/views/states/index.html.erb in ultrasphinx-1.9 vs test/integration/app/app/views/states/index.html.erb in ultrasphinx-1.11
- old
+ new
@@ -5,12 +5,12 @@
</tr>
<% for state in @states %>
<tr>
<td><%= state.name %></td>
- <td><%= link_to 'Show', state %></td>
+ <td><%= link_to 'Show', state_path(state) %></td>
<td><%= link_to 'Edit', edit_state_path(state) %></td>
- <td><%= link_to 'Destroy', state, :confirm => 'Are you sure?', :method => :delete %></td>
+ <td><%= link_to 'Destroy', state_path(state), :confirm => 'Are you sure?', :method => :delete %></td>
</tr>
<% end %>
</table>
<br />