aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-11-07 14:23:16 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2017-11-07 14:23:16 +0900
commit38158451103be572d6e81e971797938df7bd22ea (patch)
tree4749d1cecea452188900b1da06122af21503ee89 /railties/lib/rails
parent2e585e4040854ab561465a2cce32a488355fe307 (diff)
downloadrails-38158451103be572d6e81e971797938df7bd22ea.tar.gz
rails-38158451103be572d6e81e971797938df7bd22ea.tar.bz2
rails-38158451103be572d6e81e971797938df7bd22ea.zip
Fix comment in `check_class_collision` [ci skip]
`ScaffoldBase` was changed to `ResourceHelpers` by 0efedf2.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/named_base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/named_base.rb b/railties/lib/rails/generators/named_base.rb
index 60625283ac..99165168fd 100644
--- a/railties/lib/rails/generators/named_base.rb
+++ b/railties/lib/rails/generators/named_base.rb
@@ -221,7 +221,7 @@ module Rails
#
def self.check_class_collision(options = {}) # :doc:
define_method :check_class_collision do
- name = if respond_to?(:controller_class_name) # for ScaffoldBase
+ name = if respond_to?(:controller_class_name) # for ResourceHelpers
controller_class_name
else
class_name