Skip to content

Commit

Permalink
Merged pull request romul#4 from alexshuhin/fixes.
Browse files Browse the repository at this point in the history
Modified order_controller_decorator to prevent "missing tamplate" error
  • Loading branch information
romul committed Apr 27, 2011
2 parents 2b31235 + 4f0d86c commit c6609fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/orders_controller_decorator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def update
redirect_to cart_path
end
else
render :edit
render :edit unless request.xhr?
end
end

Expand Down

0 comments on commit c6609fb

Please sign in to comment.