Skip to content

Commit

Permalink
Merge pull request #5942 from avalonmediasystem/set_active_storage_se…
Browse files Browse the repository at this point in the history
…rvice

Make sure that ActiveStorage service is set
  • Loading branch information
cjcolvar authored Jul 17, 2024
2 parents 8beba40 + e235f8b commit 8bd8d7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/initializers/active_storage.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This is set in config/application.rb but it seems like the settings aren't loaded at that point so doing it again here
Rails.application.config.active_storage.service = (Settings&.active_storage&.service.presence || "local").to_sym

0 comments on commit 8bd8d7b

Please sign in to comment.