<?php

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Admin\Concerns\PostCrudActions;
use App\Http\Controllers\Controller;
use App\Traits\LogsAdminActivity;

class BlogController extends Controller
{
    use LogsAdminActivity;
    use PostCrudActions;

    protected function postType(): string
    {
        return 'blog_post';
    }

    protected function viewPrefix(): string
    {
        return 'admin.blog';
    }

    protected function routePrefix(): string
    {
        return 'admin.blog';
    }

    protected function backRoute(): string
    {
        return 'admin.blog.index';
    }
}
