abiao %!s(int64=4) %!d(string=hai) anos
pai
achega
0fbaf39d89
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/models/cash_balance.rb

+ 1 - 1
app/models/cash_balance.rb

@@ -7,7 +7,7 @@ class CashBalance < ActiveRecord::Base
   attr_accessor :remain_sum,:get_happen_total
 
   #after_find :get_happen_total
-  puts request.original_url
+  puts RAILS.request.original_url
 
   SOURCE_ENUM = [["提货券充值佣金", "balance_benefit"],
                  ["商品佣金", "product_benefit"],