for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Arcanesoft\Tracker\Http\Controllers\Admin;
use Arcanedev\LaravelTracker\Models\SessionActivity;
/**
* Class DashboardController
*
* @package Arcanesoft\Tracker\Http\Controllers\Admin
* @author ARCANEDEV <[email protected]>
*/
class DashboardController extends Controller
{
/* ------------------------------------------------------------------------------------------------
| Constructor
| ------------------------------------------------------------------------------------------------
* DashboardController constructor.
public function __construct()
parent::__construct();
$this->setCurrentPage('tracker-dashboard');
}
| Main Functions
public function index()
$this->setTitle('Tracker');
$activities = SessionActivity::all()->toArray();
return $this->view('foundation.dashboard', compact('activities'));