-
-
Save Kievbuy/5f28e7d88ddc1d169cd4821292dabf45 to your computer and use it in GitHub Desktop.
Run **rake secret** to generate a new token. Now create a new **file config/initializers/secret_token.rb** and add the following: **MyApp::Application.config.secret_key_base = '<token>'**
Replace <token> with the one you just generated and replace
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
| Run rake secret to generate a new token. | |
| Now create a new file config/initializers/secret_token.rb and add the following: | |
| MyApp::Application.config.secret_key_base = '<token>' | |
| Replace <token> with the one you just generated and replace MyApp with the actual module name of your app. You can find the module name of your app at the top of config/environments/development.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment