Skip to content

Commit

Permalink
Preserve using secrets.yml.
Browse files Browse the repository at this point in the history
- there are no sensitive info, no need to encrypt
  • Loading branch information
simi committed Oct 31, 2024
1 parent 9bcdeb8 commit b36bee4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,12 @@ class Application < Rails::Application
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
# the framework and any gems in your application.

# Keep using secrets.yml instead of Rails.application.credentials
# since there is no need to encrypt secrets.yml, but Shipit requires
# sensitive info being loaded from Rails.application.credentials.
def credentials
config_for(:secrets, env: Rails.env)
end
end
end

0 comments on commit b36bee4

Please sign in to comment.