<?php
 namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; class MediaController extends Controller { public function __construct() { $this->middleware('permission:manage pages'); } public function index() { return view('admin.media.index'); } } 