Skip to content

Instantly share code, notes, and snippets.

@braidn
Created March 31, 2017 17:33
Show Gist options
  • Select an option

  • Save braidn/b2499d90594dcd0cd540476844cec93f to your computer and use it in GitHub Desktop.

Select an option

Save braidn/b2499d90594dcd0cd540476844cec93f to your computer and use it in GitHub Desktop.
= render partial: "mobile_close"
h1 #{t('account.replenishment.title')}
- if spree_current_user.subscriptions.any?
.g-mar--top.g-mar--xs--7
- user_subscriptions = Glossier::UserSubscriptionsSerializer.new(spree_current_user).to_json
glo-subscriptions user-subscriptions="#{user_subscriptions}"
- else
.g-mar--top.g-mar--xs--7.col-xs-12.tac
p #{t('account.replenishment.no_orders')}
p #{t('account.replenishment.description')}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment