Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def send_campaign( campaign )
- @account.billing_ok? ? send_approved_campaign : card_required_to_send_campaign
- end
- def send_approved_campaign
- # renders send button
- end
- def card_required_to_send_campaign
- # renders link to "Add a Credit Card to send this campaign"
- end
Add Comment
Please, Sign In to add comment