-
-
Save thomasvanholder/2de9aea72cc7d48bc80f77a2764a60f5 to your computer and use it in GitHub Desktop.
How to use credentials in html.erb
This file contains 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
<!-- interpolate in script tag --> | |
<script src="https://maps.googleapis.com/maps/api/js?key=<%= "#{Rails.application.credentials.google_api_key}"%>"</script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment