changelog shortlog tags changeset file revisions annotate raw

app/views/orders/new.html.erb

revision 13: 907a36cf5ba1
parent 11:094fe4526925
--- a/app/views/orders/new.html.erb	Mon Mar 10 03:31:38 2008 +0900
+++ b/app/views/orders/new.html.erb	Mon Mar 10 09:38:39 2008 +0900
@@ -2,7 +2,7 @@
 
 <%= error_messages_for :order %>
 
-<% form_for(@order) do |f| %>
+<% form_for(@order, :url => order_path) do |f| %>
   <p>
     <b>Name</b><br />
     <%= f.text_field :name %>
@@ -18,4 +18,4 @@
   </p>
 <% end %>
 
-<%= link_to 'Back', orders_path %>
+<%= link_to 'Back', order_path %>