Fix broken renders

This commit is contained in:
John Dyer 2011-12-06 12:48:22 -05:00
parent 558a3af11b
commit 508461dbc7
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
<a href="<%= main_app.paypal_checkout_orders_checkout_url @checkout.order, :integration_id => integration %>" style="text-align: center;">
<a href="<%= paypal_checkout_orders_checkout_url @checkout.order, :integration_id => integration %>" style="text-align: center;">
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;"/>
</a>

View File

@ -5,6 +5,6 @@
<%= render :partial => 'shared/order_details', :locals => {:order => @order} -%>
<div class="form-buttons">
<%= button_to t('place_order'), main_app.paypal_finish_order_checkout_url(@order, {:token => params[:token] , :PayerID => params[:PayerID], :payment_method_id =>
<%= button_to t('place_order'), paypal_finish_order_checkout_url(@order, {:token => params[:token] , :PayerID => params[:PayerID], :payment_method_id =>
params[:payment_method_id] } ), :class => "button primary" %>
</div>

View File

@ -1,3 +1,3 @@
<a href="<%= main_app.paypal_payment_order_checkout_url @order, :payment_method_id => payment_method %>" style="text-align: center;">
<a href="<%= paypal_payment_order_checkout_url @order, :payment_method_id => payment_method %>" style="text-align: center;">
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;"/>
</a>