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 |
|
---|
3 | namespace App\Http\Controllers\Dashboard;
|
---|
4 |
|
---|
5 | use App\Helpers\Alert;
|
---|
6 | use App\Models\User;
|
---|
7 | use App\Http\Controllers\Controller;
|
---|
8 |
|
---|
9 | class 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.