Commit cfda2c25 authored by mgabdev's avatar mgabdev

Updated promotions to not show if user is pro

parent 280895a0
......@@ -67,6 +67,12 @@ class InitialStateSerializer < ActiveModel::Serializer
def promotions
if object.current_account
if object.current_account.is_pro
return []
end, each_serializer: REST::PromotionSerializer)
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