aboutsummaryrefslogtreecommitdiffstats
path: root/lib/active_file/railtie.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-07-04 17:43:33 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-07-04 17:43:33 +0200
commita39295d85b5f0cb326069af163c71651b0ca5b3e (patch)
tree535a9ead14519f96e0b6e4fa542daa54f462925a /lib/active_file/railtie.rb
parent54fe33cc30f8a113ffc3dc7306adb831ed97bdc6 (diff)
downloadrails-a39295d85b5f0cb326069af163c71651b0ca5b3e.tar.gz
rails-a39295d85b5f0cb326069af163c71651b0ca5b3e.tar.bz2
rails-a39295d85b5f0cb326069af163c71651b0ca5b3e.zip
Fix copy-pasta references
Diffstat (limited to 'lib/active_file/railtie.rb')
-rw-r--r--lib/active_file/railtie.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/active_file/railtie.rb b/lib/active_file/railtie.rb
index 6a22148040..18e4779229 100644
--- a/lib/active_file/railtie.rb
+++ b/lib/active_file/railtie.rb
@@ -2,11 +2,11 @@ require "rails/railtie"
module ActiveFile
class Railtie < Rails::Railtie # :nodoc:
- config.action_cable = ActiveSupport::OrderedOptions.new
+ config.action_file = ActiveSupport::OrderedOptions.new
config.eager_load_namespaces << ActiveFile
- initializer "action_cable.routes" do
+ initializer "action_file.routes" do
require "active_file/disk_controller"
config.after_initialize do |app|