-
-
Save thomasvanholder/b8188e3c940d4fc9dc5bb51d7e053861 to your computer and use it in GitHub Desktop.
How to use credentials in Javascript.erb file
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
// ruby code only possible with js.erb format | |
const abc = "<%= Rails.application.credentials.google_api_key %>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment