update
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\admin\vm;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
class VirtualMachineController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return view('admin.package.vm.index');
|
||||
}
|
||||
|
||||
public function create()
|
||||
{
|
||||
return view('admin.package.vm.add');
|
||||
}
|
||||
|
||||
public function store(Request $request)
|
||||
{
|
||||
return view('admin.package.vm.index');
|
||||
}
|
||||
|
||||
public function edit($id)
|
||||
{
|
||||
return view('admin.package.vm.edit');
|
||||
}
|
||||
|
||||
public function update(Request $request, $id)
|
||||
{
|
||||
return view('admin.package.vm.index');
|
||||
}
|
||||
|
||||
public function destroy($id)
|
||||
{
|
||||
return view('admin.package.vm.index');
|
||||
}
|
||||
}
|
||||
@@ -91,3 +91,17 @@ if (!function_exists('generate_order_number')) {
|
||||
}
|
||||
}
|
||||
|
||||
function active_class($path, $active = 'active')
|
||||
{
|
||||
return request()->is(...(array) $path) ? $active : '';
|
||||
}
|
||||
|
||||
function is_active_route($path)
|
||||
{
|
||||
return request()->is(...(array) $path) ? 'true' : 'false';
|
||||
}
|
||||
|
||||
function show_class($path)
|
||||
{
|
||||
return request()->is(...(array) $path) ? 'show' : '';
|
||||
}
|
||||
Reference in New Issue
Block a user