From b5afc0cf9db8d50d1d95fc2c2fe8b451f8825b46 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 13:31:31 -0500 Subject: Moved secret base, Akismet, Sendgrid, and database keys into credentials --- config/initializers/akismet.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/initializers') diff --git a/config/initializers/akismet.rb b/config/initializers/akismet.rb index 325e48f..a0e40dc 100644 --- a/config/initializers/akismet.rb +++ b/config/initializers/akismet.rb @@ -1,2 +1,2 @@ -Akismet.api_key = Rails.application.config_for(:akismet)[:api_key] -Akismet.app_url = Rails.application.config_for(:akismet)[:app_url] +Akismet.api_key = Rails.application.credentials.akismet_api_key +Akismet.app_url = Rails.application.credentials.akismet_app_url -- cgit 1.4.1