aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2015-12-20 12:33:46 +0000
committerVijay Dev <vijaydev.cse@gmail.com>2015-12-20 12:33:46 +0000
commitb691d62be9357fddeca6a2ab247a423d0a4ce7ab (patch)
treeb2f20a95f16e19b19484ad411ed5742c593fa0ea /actionpack
parentcf8621a3e9676f0c62d84dc42797e75bc6ab1a1d (diff)
parentbd3fc6d4742056d3858a9bc35a86386d62ede15d (diff)
downloadrails-b691d62be9357fddeca6a2ab247a423d0a4ce7ab.tar.gz
rails-b691d62be9357fddeca6a2ab247a423d0a4ce7ab.tar.bz2
rails-b691d62be9357fddeca6a2ab247a423d0a4ce7ab.zip
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/abstract_controller/base.rb4
-rw-r--r--actionpack/lib/action_controller/metal.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/abstract_controller/base.rb b/actionpack/lib/abstract_controller/base.rb
index 7f349f2741..8edea0f52b 100644
--- a/actionpack/lib/abstract_controller/base.rb
+++ b/actionpack/lib/abstract_controller/base.rb
@@ -49,7 +49,7 @@ module AbstractController
# instance methods on that abstract class. Public instance methods of
# a controller would normally be considered action methods, so methods
# declared on abstract classes are being removed.
- # (ActionController::Metal and ActionController::Base are defined as abstract)
+ # (<tt>ActionController::Metal</tt> and ActionController::Base are defined as abstract)
def internal_methods
controller = self
@@ -80,7 +80,7 @@ module AbstractController
# action_methods are cached and there is sometimes need to refresh
# them. ::clear_action_methods! allows you to do that, so next time
- # you run action_methods, they will be recalculated
+ # you run action_methods, they will be recalculated.
def clear_action_methods!
@action_methods = nil
end
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb
index 8e040bb465..f6a93a8940 100644
--- a/actionpack/lib/action_controller/metal.rb
+++ b/actionpack/lib/action_controller/metal.rb
@@ -166,7 +166,7 @@ module ActionController
alias :response_code :status # :nodoc:
- # Basic url_for that can be overridden for more robust functionality
+ # Basic url_for that can be overridden for more robust functionality.
def url_for(string)
string
end