abiao лет назад: 4
Родитель
Сommit
a0c4a72f98
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/models/cash_balance.rb

+ 1 - 1
app/models/cash_balance.rb

@@ -41,7 +41,7 @@ class CashBalance < ActiveRecord::Base
       return self.count
       return self.count
     end
     end
   end
   end
-  puts request.request_uri
+  puts Rails.request.request_uri
   @total=0
   @total=0
   LIST =  []
   LIST =  []
   def get_happen_total
   def get_happen_total