Skip to content

Commit

Permalink
Make sure that ActiveStorage service is set
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcolvar committed Jul 16, 2024
1 parent 8beba40 commit e235f8b
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 e235f8b

Please sign in to comment.