Skip to content

Commit 7c03190

Browse files
committed
Merge pull request rails#21008 from svenwin/patch-1
Add documentation to get a running custom base controller [ci skip]
2 parents 54901ac + 7c5e422 commit 7c03190

File tree

1 file changed

+1
-1
lines changed
  • actionpack/lib/action_controller

1 file changed

+1
-1
lines changed

actionpack/lib/action_controller/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class Base < Metal
183183
# Shortcut helper that returns all the modules included in
184184
# ActionController::Base except the ones passed as arguments:
185185
#
186-
# class MetalController
186+
# class MyBaseController < ActionController::Metal
187187
# ActionController::Base.without_modules(:ParamsWrapper, :Streaming).each do |left|
188188
# include left
189189
# end

0 commit comments

Comments
 (0)