Closed lawkunchi closed 5 years ago
@hootlex ping
I go the solution. So I found out if the strict mode is set to true it won't display resources unless approved
public static $strictModeration = false;
So I then set it to false in order to edit the resources
I have a model and I added the
Hootlex\Moderation\Moderatable
trait as belowBut my index blade that returns a list of submitted posts does not show unless I remove
use Moderatable;
from my model. So instead I added the trait to my controller, but now when I try to approve the post it gives this error Call to undefined methodpending()
reject()
orpostpone()
. I also tried other ways to moderate an instance of a model provided in the documentation, and I get the same error. Please assist on a solution for thus error