aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-03-07 20:32:25 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-03-07 20:32:25 +0530
commit35922c0f82cec8f0094d56838c8ecd2ae989f109 (patch)
tree87465861f36239854abd3fe0ea3675492ca7e2ef /actionpack
parent6588560c616882a3fff7cad5108f61448944e77c (diff)
downloadrails-35922c0f82cec8f0094d56838c8ecd2ae989f109.tar.gz
rails-35922c0f82cec8f0094d56838c8ecd2ae989f109.tar.bz2
rails-35922c0f82cec8f0094d56838c8ecd2ae989f109.zip
copy edits [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index e20ba8f7b5..e504a083c9 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -171,7 +171,7 @@ module ActionController
class Base < Metal
abstract!
- # Shortcut helper to map all ActionController default modules except the ones given:
+ # Shortcut helper that returns all the ActionController modules except the ones passed in the argument:
#
# class MetalController
# ActionController::Base.without_modules(:ParamsWrapper, :Streaming).each do |module|
@@ -180,7 +180,7 @@ module ActionController
# end
#
# This gives better control over what you want to exclude and makes it easier
- # to create a bare controller class, instead of listing each required module manually.
+ # to create a bare controller class, instead of listing the modules required manually.
def self.without_modules(*modules)
modules = modules.map do |m|
m.is_a?(Symbol) ? ActionController.const_get(m) : m