From 649b9d93219b5b38bb2fccba5124c4e013726d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Tue, 15 Dec 2015 16:05:06 -0200 Subject: Move the require to the right place --- actioncable/lib/action_cable/engine.rb | 1 + actioncable/lib/action_cable/server/configuration.rb | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/actioncable/lib/action_cable/engine.rb b/actioncable/lib/action_cable/engine.rb index fbe8038a57..6d747d6992 100644 --- a/actioncable/lib/action_cable/engine.rb +++ b/actioncable/lib/action_cable/engine.rb @@ -1,6 +1,7 @@ require "rails" require "action_cable" require "action_cable/helpers/action_cable_helper" +require "active_support/core_ext/hash/indifferent_access" module ActionCable class Railtie < Rails::Engine # :nodoc: diff --git a/actioncable/lib/action_cable/server/configuration.rb b/actioncable/lib/action_cable/server/configuration.rb index c2d51b4a9f..5d65f5e0e9 100644 --- a/actioncable/lib/action_cable/server/configuration.rb +++ b/actioncable/lib/action_cable/server/configuration.rb @@ -1,5 +1,3 @@ -require 'active_support/core_ext/hash/indifferent_access' - module ActionCable module Server # An instance of this configuration object is available via ActionCable.server.config, which allows you to tweak the configuration points -- cgit v1.2.3