<?php

namespace FluxCms\Core\Http\Controllers\Admin;

use Illuminate\Http\Request;
use Illuminate\Routing\Controller;

class MediaController extends Controller
{
    public function __construct()
    {
        $this->middleware('can:flux-cms.view');
    }

    public function __invoke(Request $request)
    {
        // This would integrate with Spatie Media Library
        return view('flux-cms::admin.media.index');
    }
}
