Last active
October 1, 2015 11:26
-
-
Save jerzyn/9689681 to your computer and use it in GitHub Desktop.
Restrict the display of Dashboard if credit card is missing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% if current_account.credit_card_required? %} | |
| {% if current_account.credit_card_stored? %} | |
| <a href="/xxxx">API Credentials</a> | | |
| {% endif %} | |
| {% else %} | |
| <a href="/xxxx">API Credentials</a> | | |
| {% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment