aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-01-03 16:36:33 +0100
committerRobin Dupret <robin.dupret@gmail.com>2015-01-03 16:36:33 +0100
commit9b9ec0ded4f8f65e17c2af856d2e3baa5382a47a (patch)
treec6a2176ae185b4e42c1160382a774616c75edd32 /actionpack
parent4b9dba99d65b1bd27576b16a68d7d18522bae9ea (diff)
downloadrails-9b9ec0ded4f8f65e17c2af856d2e3baa5382a47a.tar.gz
rails-9b9ec0ded4f8f65e17c2af856d2e3baa5382a47a.tar.bz2
rails-9b9ec0ded4f8f65e17c2af856d2e3baa5382a47a.zip
Fix a few typos [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/abstract_controller/base.rb4
-rw-r--r--actionpack/lib/abstract_controller/rendering.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 2c8a67db09..5bb34daf81 100644
--- a/actionpack/lib/abstract_controller/base.rb
+++ b/actionpack/lib/abstract_controller/base.rb
@@ -100,10 +100,10 @@ module AbstractController
# Returns the full controller name, underscored, without the ending Controller.
#
- # class MyApp
- # MyPostsController < AbstractController::Base
+ # class MyApp::MyPostsController < AbstractController::Base
# end
# end
+ #
# MyApp::MyPostsController.controller_path # => "my_app/my_posts"
#
# ==== Returns
diff --git a/actionpack/lib/abstract_controller/rendering.rb b/actionpack/lib/abstract_controller/rendering.rb
index 585d20c56c..5514213ad8 100644
--- a/actionpack/lib/abstract_controller/rendering.rb
+++ b/actionpack/lib/abstract_controller/rendering.rb
@@ -17,7 +17,7 @@ module AbstractController
extend ActiveSupport::Concern
include ActionView::ViewPaths
- # Normalize arguments, options and then delegates render_to_body and
+ # Normalizes arguments, options and then delegates render_to_body and
# sticks the result in <tt>self.response_body</tt>.
# :api: public
def render(*args, &block)