From 07405c7b62b8d26d79c16465ae0373b4095bc3b9 Mon Sep 17 00:00:00 2001 From: Hartley McGuire Date: Sun, 30 Jun 2024 19:37:35 -0400 Subject: [PATCH] Fix markup directive in Action Cable templates When converting Action Cable docs from RDoc to Markdown, these two templates were accidentally included in the list of files converted (and the `:markup:` directive added) because they incorrectly had an `.rb` extension instead of `.rb.tt`. This commit fixes the extension and removes the `:markup:` directive. --- .../templates/application_cable/{channel.rb => channel.rb.tt} | 2 -- .../application_cable/{connection.rb => connection.rb.tt} | 2 -- 2 files changed, 4 deletions(-) rename actioncable/lib/rails/generators/channel/templates/application_cable/{channel.rb => channel.rb.tt} (79%) rename actioncable/lib/rails/generators/channel/templates/application_cable/{connection.rb => connection.rb.tt} (80%) diff --git a/actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb b/actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb.tt similarity index 79% rename from actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb rename to actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb.tt index 2a175311ed..d672697283 100644 --- a/actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb +++ b/actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb.tt @@ -1,5 +1,3 @@ -# :markup: markdown - module ApplicationCable class Channel < ActionCable::Channel::Base end diff --git a/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb b/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb.tt similarity index 80% rename from actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb rename to actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb.tt index 61c8ba3070..0ff5442f47 100644 --- a/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb +++ b/actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb.tt @@ -1,5 +1,3 @@ -# :markup: markdown - module ApplicationCable class Connection < ActionCable::Connection::Base end