aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage/service/configurator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage/lib/active_storage/service/configurator.rb')
-rw-r--r--activestorage/lib/active_storage/service/configurator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/service/configurator.rb b/activestorage/lib/active_storage/service/configurator.rb
index 00ae24d251..a0afdaa912 100644
--- a/activestorage/lib/active_storage/service/configurator.rb
+++ b/activestorage/lib/active_storage/service/configurator.rb
@@ -22,7 +22,7 @@ class ActiveStorage::Service::Configurator #:nodoc:
end
def resolve(class_name)
- require "active_storage/service/#{class_name.to_s.downcase}_service"
+ require "active_storage/service/#{class_name.to_s.underscore}_service"
ActiveStorage::Service.const_get(:"#{class_name}Service")
end
end