mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix typo
This commit is contained in:
parent
8efcf9bf82
commit
599fb11bcd
1 changed files with 1 additions and 1 deletions
|
@ -1847,7 +1847,7 @@ class Comment < ApplicationRecord
|
|||
end
|
||||
```
|
||||
|
||||
Class methods can also be added to concerns. If we want a count of public articles or comments to display on our main page, we might add a class method to Visible as follows:
|
||||
Class methods can also be added to concerns. If we want to display a count of public articles or comments on our main page, we might add a class method to Visible as follows:
|
||||
|
||||
```ruby
|
||||
module Visible
|
||||
|
|
Loading…
Reference in a new issue