seed.tradable was back to front logic. fixed

This commit is contained in:
Brenda Wallace
2017-11-26 15:52:28 +13:00
committed by Shiny
parent 0205b345d0
commit 00e6aeed5c

View File

@@ -46,7 +46,7 @@ class Seed < ActiveRecord::Base
scope :has_location, -> { joins(:owner).where.not("members.location": nil) }
def tradable?
tradable_to == 'nowhere'
tradable_to != 'nowhere'
end
def seed_slug