-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #446 from epimorphics/spike/application-configurat…
…ion-unification Application Configuration Unification
- Loading branch information
Showing
5 changed files
with
13 additions
and
30 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,16 @@ class Application < Rails::Application | |
# Application configuration should go into files in config/initializers | ||
# -- all .rb files in that directory are automatically loaded. | ||
|
||
# feature flag for showing the Welsh language switch affordance | ||
config.welsh_language_enabled = true | ||
|
||
# Use default paths for documentation. | ||
config.accessibility_document_path = '/accessibility' | ||
config.privacy_document_path = '/privacy' | ||
|
||
# Set the contact email address to Land Registry supplied address | ||
config.contact_email_address = '[email protected]' | ||
|
||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone. | ||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC. | ||
# config.time_zone = 'Central Time (US & Canada)' | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,14 +53,4 @@ | |
|
||
# API location can be specified in the environment but defaults to the dev service | ||
config.api_service_url = ENV.fetch('API_SERVICE_URL', 'http://localhost:8888') | ||
|
||
# feature flag for showing the Welsh language switch affordance | ||
config.welsh_language_enabled = true | ||
|
||
# Use default paths for documentation. | ||
config.accessibility_document_path = '/doc/accessibility' | ||
config.privacy_document_path = '/doc/privacy' | ||
|
||
# Set the contact email address to Land Registry supplied address | ||
config.contact_email_address = '[email protected]' | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,14 +92,4 @@ | |
|
||
# API location is specified in the environment variable API_SERVICE_URL | ||
config.api_service_url = ENV.fetch('API_SERVICE_URL', nil) | ||
|
||
# feature flag for showing the Welsh language switch affordance | ||
config.welsh_language_enabled = true | ||
|
||
# Use default paths for documentation. | ||
config.accessibility_document_path = '/accessibility' | ||
config.privacy_document_path = '/privacy' | ||
|
||
# Set the contact email address to Land Registry supplied address | ||
config.contact_email_address = '[email protected]' | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,14 +47,4 @@ | |
# API location can be specified in the environment | ||
# But defaults to the dev service | ||
config.api_service_url = ENV.fetch('API_SERVICE_URL', 'http://localhost:8080') | ||
|
||
# Use default paths for documentation. | ||
config.accessibility_document_path = '/doc/accessibility' | ||
config.privacy_document_path = '/doc/privacy' | ||
|
||
# feature flag for showing the Welsh language switch affordance | ||
config.welsh_language_enabled = true | ||
|
||
# Set the contact email address to Land Registry supplied address | ||
config.contact_email_address = '[email protected]' | ||
end |