Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define member portal configuration initializer for implementation values. #93

Open
veronicacannon opened this issue Oct 9, 2017 · 0 comments
Assignees

Comments

@veronicacannon
Copy link
Contributor

veronicacannon commented Oct 9, 2017

Per @phlipper's comments in algolia_search PR, create an initializer to hold the configuration settings.

# Enable everywhere but the `test` environment
Rails.application.config.algolia_search = !Rails.env.test?

# or

# Enable in the `staging` and `production` environments
Rails.application.config.algolia_search = Rails.env.in?(%w[staging production])

Check config/development.rb and config/test.rb, as well as documentation DEVELOPMENT.md

@veronicacannon veronicacannon self-assigned this Oct 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant