diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/abstract_controller/base.rb | 4 | ||||
-rw-r--r-- | actionpack/lib/abstract_controller/rendering.rb | 2 |
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) |