1
0
Fork 0
forked from OpenNeo/impress
impress/app/models/nc_mall_record.rb

8 lines
117 B
Ruby
Raw Permalink Normal View History

class NCMallRecord < ApplicationRecord
belongs_to :item
def current_price
discount_price || price
end
end