Tiny documentation edits [ci skip]
This commit is contained in:
parent
d69c7e66b3
commit
8a74190121
@ -93,7 +93,7 @@ def modules_for_helpers(args)
|
||||
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"]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user