Commit 1bb39ffc by ivan Lan

Use shotengai_product

parent 9fbd5993
...@@ -103,7 +103,7 @@ module Shotengai ...@@ -103,7 +103,7 @@ module Shotengai
end end
def already_disable def already_disable
shotengai_series.deleted? || product.on_sale?.! shotengai_series.deleted? || shotengai_product.on_sale?.!
end end
def order_was_paid def order_was_paid
...@@ -195,7 +195,7 @@ module Shotengai ...@@ -195,7 +195,7 @@ module Shotengai
end end
def set_manager def set_manager
self.manager = shotengai_series.product.manager self.manager = shotengai_series.shotengai_product.manager
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment