diff options
author | Xavier Noria <fxn@hashref.com> | 2016-05-04 06:47:57 -0500 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2016-05-04 06:47:57 -0500 |
commit | 1dcf2800146f654065c697511dcbcea5c23c114a (patch) | |
tree | 5fcd917fdda0445aa75883f19bae523b1e4647d3 /actioncable/lib/action_cable | |
parent | 3de5078fa6f201151194c682a1ce37426b97ecda (diff) | |
download | rails-1dcf2800146f654065c697511dcbcea5c23c114a.tar.gz rails-1dcf2800146f654065c697511dcbcea5c23c114a.tar.bz2 rails-1dcf2800146f654065c697511dcbcea5c23c114a.zip |
renames ActionCable::Railtie to ActionCable::Engine
This is an engine living in action_cable/engine.rb, convention is to
call these things *::Engine.
Looking at thi git history looks like the current *::Railtie was just
an accident.
Diffstat (limited to 'actioncable/lib/action_cable')
-rw-r--r-- | actioncable/lib/action_cable/engine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/action_cable/engine.rb b/actioncable/lib/action_cable/engine.rb index 7dc541d00c..8ce1b24962 100644 --- a/actioncable/lib/action_cable/engine.rb +++ b/actioncable/lib/action_cable/engine.rb @@ -4,7 +4,7 @@ require "action_cable/helpers/action_cable_helper" require "active_support/core_ext/hash/indifferent_access" module ActionCable - class Railtie < Rails::Engine # :nodoc: + class Engine < Rails::Engine # :nodoc: config.action_cable = ActiveSupport::OrderedOptions.new config.action_cable.mount_path = ActionCable::INTERNAL[:default_mount_path] |