Refactor views to use new layout structure and update routes for administrator pages
- 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.
This commit is contained in:
@@ -8,31 +8,31 @@ class VirtualMachineController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
return view('admin.package.vm.index');
|
||||
return view('administrator.pages.package.vm.index');
|
||||
}
|
||||
|
||||
public function create()
|
||||
{
|
||||
return view('admin.package.vm.add');
|
||||
return view('administrator.pages.package.vm.add');
|
||||
}
|
||||
|
||||
public function store(Request $request)
|
||||
{
|
||||
return view('admin.package.vm.index');
|
||||
return view('administrator.pages.package.vm.index');
|
||||
}
|
||||
|
||||
public function edit($id)
|
||||
{
|
||||
return view('admin.package.vm.edit');
|
||||
return view('administrator.pages.package.vm.edit');
|
||||
}
|
||||
|
||||
public function update(Request $request, $id)
|
||||
{
|
||||
return view('admin.package.vm.index');
|
||||
return view('administrator.pages.package.vm.index');
|
||||
}
|
||||
|
||||
public function destroy($id)
|
||||
{
|
||||
return view('admin.package.vm.index');
|
||||
return view('administrator.pages.package.vm.index');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user