Skip to content

Commit 07405c7

Browse files
committed
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.
1 parent d43ee20 commit 07405c7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb renamed to actioncable/lib/rails/generators/channel/templates/application_cable/channel.rb.tt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# :markup: markdown
2-
31
module ApplicationCable
42
class Channel < ActionCable::Channel::Base
53
end

actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb renamed to actioncable/lib/rails/generators/channel/templates/application_cable/connection.rb.tt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# :markup: markdown
2-
31
module ApplicationCable
42
class Connection < ActionCable::Connection::Base
53
end

0 commit comments

Comments
 (0)