Update README.md

This commit is contained in:
来自村里的小螃蟹 2021-12-21 10:25:18 +08:00 committed by GitHub
parent f1f139f650
commit 503e416d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -200,8 +200,8 @@ rails db:migrate
以下方法可以放在需要使用的类中: 以下方法可以放在需要使用的类中:
```ruby ```ruby
acts_as_commentable #被点赞 acts_as_commentable #被评论
acts_as_commenter #点赞 acts_as_commenter #评论
class Article < ApplicationRecord class Article < ApplicationRecord