Skip to content

Instantly share code, notes, and snippets.

@mjansen401
Last active December 17, 2015 03:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjansen401/5542910 to your computer and use it in GitHub Desktop.
Save mjansen401/5542910 to your computer and use it in GitHub Desktop.
def payment_account
PaymentAccountPresenter.new(@member)
end
class PaymentAccountPresenter
def billing_info
...
end
def subscription
...
end
end
<%= render :partial => 'payment_tab', :locals => { presenter: @member_presenter.payment_account_presenter }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment