test/integration/app/app/views/states/new.html.erb in ultrasphinx-1.9 vs test/integration/app/app/views/states/new.html.erb in ultrasphinx-1.11
- old
+ new
@@ -1,9 +1,9 @@
<h1>New state</h1>
<%= error_messages_for :state %>
-<% form_for(@state) do |f| %>
+<% form_for @state, :url => state_path(@state) do |f| %>
<p>
<%= f.submit "Create" %>
</p>
<% end %>