mirror of
https://github.com/wearepixel/laravel-comments.git
synced 2026-11-14 14:02:04 +00:00
Update the README.md with the new features documentation.
This commit is contained in:
@@ -2,16 +2,15 @@
|
||||
|
||||
namespace BeyondCode\Comments\Traits;
|
||||
|
||||
|
||||
trait CanComment
|
||||
{
|
||||
/**
|
||||
* Check if a comment for a specific model needs to be approved.
|
||||
* @param mixed $model
|
||||
* @return bool
|
||||
*
|
||||
* @param mixed $model
|
||||
*/
|
||||
public function needsCommentApproval($model): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user