This commit is contained in:
Daniel 2021-05-09 08:05:47 -06:00 committed by GitHub
parent 8efcf9bf82
commit 599fb11bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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