revision 13: | 907a36cf5ba1 |
---|---|
parent 11: | 094fe4526925 |
--- a/app/views/orders/edit.html.erb Mon Mar 10 03:31:38 2008 +0900 +++ b/app/views/orders/edit.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,5 +18,5 @@ </p> <% end %> -<%= link_to 'Show', @order %> | -<%= link_to 'Back', orders_path %> +<%= link_to 'Show', order_path %> | +<%= link_to 'Back', order_path %>