Inital Commit

This commit is contained in:
tanch0
2024-05-05 10:32:49 +05:45
commit cc991bb0e1
7418 changed files with 507076 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php
namespace App\Http\Controllers;
use App\Models\Log\ActivityLog;
use Illuminate\Http\Request;
class BackendController extends Controller
{
// private $path;
// public function __construct(){
// $this->path = config("app.client_path");
// }
public function displayBackend(){
$methodNames = ['create', 'edit', 'destroy', 'store'];
$datas = ActivityLog::whereIn('methodname', $methodNames)
->latest()
->take(20)
->get();
return view('backend.dashboard',compact('datas'));
}
}