1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Refer to the yielded app

This commit is contained in:
David Heinemeier Hansson 2017-07-24 08:12:03 -05:00
parent 5944850bc1
commit d8aec0f9a4

View file

@ -24,7 +24,7 @@ module ActiveStorage
initializer "active_storage.verifier" do
config.after_initialize do |app|
ActiveStorage.verifier = Rails.application.message_verifier("ActiveStorage")
ActiveStorage.verifier = app.message_verifier("ActiveStorage")
end
end