aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaurav Sharma <gaurav2728@gmail.com>2015-11-18 08:22:16 +0530
committerGaurav Sharma <gaurav2728@gmail.com>2015-11-18 08:22:16 +0530
commit762f7daf55a91d2a20bedb4906c9dd04e031d74e (patch)
tree148accea23b393d51b6ee84689bfab4c323bba8e
parent153d7ca630d10449f24f5576f27452f9efb40791 (diff)
downloadrails-762f7daf55a91d2a20bedb4906c9dd04e031d74e.tar.gz
rails-762f7daf55a91d2a20bedb4906c9dd04e031d74e.tar.bz2
rails-762f7daf55a91d2a20bedb4906c9dd04e031d74e.zip
Add missing punctuation mark [ci skip]
-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