- Changed view extends from "admin.main" to "administrator.layout.master" across multiple files. - Updated route names in admin.php and administrator.php to reflect new structure for user, order, invoice, and other management functionalities. - Adjusted view includes to point to the new directory structure for blocks and components. - Ensured all permission checks remain intact while refactoring the views.
38 lines
795 B
PHP
38 lines
795 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\admin\vm;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
|
|
class VirtualMachineController extends Controller
|
|
{
|
|
public function index()
|
|
{
|
|
return view('administrator.pages.package.vm.index');
|
|
}
|
|
|
|
public function create()
|
|
{
|
|
return view('administrator.pages.package.vm.add');
|
|
}
|
|
|
|
public function store(Request $request)
|
|
{
|
|
return view('administrator.pages.package.vm.index');
|
|
}
|
|
|
|
public function edit($id)
|
|
{
|
|
return view('administrator.pages.package.vm.edit');
|
|
}
|
|
|
|
public function update(Request $request, $id)
|
|
{
|
|
return view('administrator.pages.package.vm.index');
|
|
}
|
|
|
|
public function destroy($id)
|
|
{
|
|
return view('administrator.pages.package.vm.index');
|
|
}
|
|
} |