Change network/ to domain/view/

This commit is contained in:
2023-10-05 22:59:59 +11:00
parent 654e7bd2aa
commit 7a9b6d5015
7 changed files with 20 additions and 19 deletions

View File

@@ -12,7 +12,7 @@ use App\Classes\File;
use App\Classes\FTN\Packet;
use App\Http\Requests\SetupRequest;
use App\Models\File as FileModel;
use App\Models\{Address,Domain,Echomail,Netmail,Setup,System};
use App\Models\{Address,Echomail,Netmail,Setup,System};
class HomeController extends Controller
{
@@ -42,17 +42,6 @@ class HomeController extends Controller
->with('f',$f);
}
public function network(Domain $o)
{
if (! $o->public && ! Gate::check('admin',$o))
abort(404);
$o->load(['zones.system','zones.domain']);
return view('domain.view')
->with('o',$o);
}
public function packet_contents(System $o,string $packet)
{
$nm = Netmail::select('netmails.*')