diff options
author | Gadzhi Gadzhiev <inbox@resure.net> | 2016-03-08 15:30:12 +0300 |
---|---|---|
committer | Gadzhi Gadzhiev <inbox@resure.net> | 2016-03-08 15:30:12 +0300 |
commit | 37606d016d9d1ed6cd0abc2dc63a49d8a63b018b (patch) | |
tree | e8c5ead58dc7034f16a1733f521cf78f4bdb1ac1 /actioncable/lib/rails/generators/channel | |
parent | a38afb3e55e2dc4b33760321db51ccf8fa06b2c8 (diff) | |
download | rails-37606d016d9d1ed6cd0abc2dc63a49d8a63b018b.tar.gz rails-37606d016d9d1ed6cd0abc2dc63a49d8a63b018b.tar.bz2 rails-37606d016d9d1ed6cd0abc2dc63a49d8a63b018b.zip |
Remove redundant regexp escapes in generators
Diffstat (limited to 'actioncable/lib/rails/generators/channel')
-rw-r--r-- | actioncable/lib/rails/generators/channel/channel_generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actioncable/lib/rails/generators/channel/channel_generator.rb b/actioncable/lib/rails/generators/channel/channel_generator.rb index 6debe40c91..d89ab45816 100644 --- a/actioncable/lib/rails/generators/channel/channel_generator.rb +++ b/actioncable/lib/rails/generators/channel/channel_generator.rb @@ -21,7 +21,7 @@ module Rails protected def file_name - @_file_name ||= super.gsub(/\_channel/i, '') + @_file_name ||= super.gsub(/_channel/i, '') end # FIXME: Change these files to symlinks once RubyGems 2.5.0 is required. |