Permalink
Browse files

passing correct target instance variable to error_messages partial

  • Loading branch information...
1 parent d56c054 commit 65553f0ad0a01c182f88bc9f29d56efdd0e2bd36 Zac Williams committed Sep 20, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/views/admin/orders/_form.html.erb
@@ -1,4 +1,4 @@
-<%= render 'shared/error_messages', :target => @line_item %>
+<%= render 'shared/error_messages', :target => @order %>
<%= form_for(@order, :url => admin_order_url(@order), :html => { :method => :put}) do |f| %>
<%= f.hidden_field :number %>

0 comments on commit 65553f0

Please sign in to comment.