mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Added back guides because its needed
This commit is contained in:
@@ -162,13 +162,15 @@ def _csp(config):
|
||||
|
||||
|
||||
def create_app(application):
|
||||
application.config['FEATURE_BEST_PRACTICES_ENABLED'] = (
|
||||
application.config["FEATURE_BEST_PRACTICES_ENABLED"] = (
|
||||
os.getenv("FEATURE_BEST_PRACTICES_ENABLED", "false").lower() == "true"
|
||||
)
|
||||
|
||||
@application.context_processor
|
||||
def inject_feature_flags():
|
||||
feature_best_practices_enabled = application.config['FEATURE_BEST_PRACTICES_ENABLED']
|
||||
feature_best_practices_enabled = application.config[
|
||||
"FEATURE_BEST_PRACTICES_ENABLED"
|
||||
]
|
||||
return dict(FEATURE_BEST_PRACTICES_ENABLED=feature_best_practices_enabled)
|
||||
|
||||
notify_environment = os.environ["NOTIFY_ENVIRONMENT"]
|
||||
|
||||
@@ -46,6 +46,7 @@ class HeaderNavigation(Navigation):
|
||||
"roadmap",
|
||||
"security",
|
||||
},
|
||||
"guides": {"guides"},
|
||||
"best_practices": {
|
||||
"best_practices",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user