Permalink
Browse files

removed ugly puts

  • Loading branch information...
1 parent e69b1ba commit 7cb9aeea2f1c6203f46097d387c9feadbc69da5d @tomash tomash committed Nov 16, 2010
@@ -1,5 +1,3 @@
-puts "orders controller decorator loading"
-
# Add a partial for PaypalPayment txns
Admin::OrdersController.class_eval do
before_filter :add_pp_standard_txns, :only => :show
@@ -1,5 +1,3 @@
-puts "orders controller decorator loading..."
-
# Add a filter to the OrdersController so that if user is reaching us from an email link we can
# associate the order with the user (once they log in)
OrdersController.class_eval do
@@ -1,5 +1,3 @@
-puts "loading paypal_payments controller..."
-
class PaypalPaymentsController < Spree::BaseController
include ActiveMerchant::Billing::Integrations
skip_before_filter :verify_authenticity_token
@@ -1,5 +1,3 @@
-puts "order model decorator loading..."
-
Order.class_eval do
has_many :paypal_payments
@@ -1,5 +1,3 @@
-puts "loading paypal_payment model..."
-
class PaypalPayment < Payment
has_many :paypal_txns
alias :txns :paypal_txns
@@ -1,5 +1,3 @@
-puts "loading paypal_txn model..."
-
class PaypalTxn < ActiveRecord::Base
belongs_to :paypal_payment
validates_numericality_of :amount

0 comments on commit 7cb9aee

Please sign in to comment.