mirror of
https://github.com/apigy/selfstarter.git
synced 2026-01-09 14:27:55 -05:00
Fixed bug where it counts all orders, rather than orders that complete the amazon checkout process
This commit is contained in:
@@ -57,7 +57,7 @@ class Order < ActiveRecord::Base
|
||||
|
||||
# See what it looks like when you have some backers! Drop in a number instead of Order.count
|
||||
def self.current
|
||||
Order.count
|
||||
Order.where("token != ? OR token != ?", "", nil).count
|
||||
end
|
||||
|
||||
def self.revenue
|
||||
|
||||
Reference in New Issue
Block a user