<?php

use App\Http\Middleware\Localization;
use Illuminate\Support\Facades\Route;
use Modules\HomeScreen\Http\Controllers\WebController;

Route::group(['prefix' => 'admin', 'as' => 'admin.'], function () {
    Route::group(['middleware' => [Localization::class, 'auth:admin']], function () {
        Route::resource('home_screens', WebController::class);
    });
});
