Tiny documentation edits [ci skip]

This commit is contained in:
Robin Dupret 2015-03-03 21:27:17 +01:00
parent d69c7e66b3
commit 8a74190121
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ module ActionController
super(args)
end
# Return a list of helper names in specific path.
# Returns a list of helper names in a given path.
#
# ActionController::Base.all_helpers_from_path 'app/helpers'
# # => ["application", "chart", "rubygems"]

View File

@ -815,7 +815,7 @@ calling the `console` method.
For example, in a controller:
```ruby
class PostController < ApplicationController
class PostsController < ApplicationController
def new
console
@post = Post.new