source: app/Http/Controllers/Dashboard/IndexController.php@ 24a616f

develop
Last change on this file since 24a616f was 24a616f, checked in by Berat Kjufliju <kufliju@…>, 3 years ago

added documents crud, added last_seen_to_user, edited views

  • Property mode set to 100644
File size: 390 bytes
Line 
1<?php
2
3namespace App\Http\Controllers\Dashboard;
4
5use App\Helpers\Alert;
6use App\Models\User;
7use App\Http\Controllers\Controller;
8
9class IndexController extends Controller
10{
11 public function index()
12 {
13 $counters = array(
14 "users" => User::count(),
15 );
16
17 return view("dashboard.index")->with([
18 "counters" => $counters,
19 ]);
20 }
21}
Note: See TracBrowser for help on using the repository browser.