/** * @param array $attributes * * @return ModerationLog */ public function create(array $attributes) { return $this->moderationLog->create($attributes); }
/** * @return \Illuminate\View\View */ public function logs() { $logs = ModerationLog::all()->reverse(); return view('moderation.logs', ['logs' => $logs])->withActive('logs'); }