develop
Last change
on this file since 194a359 was 194a359, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added departments, edited users and added user settings
|
-
Property mode
set to
100644
|
File size:
421 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 | Alert::flash("test");
|
---|
18 |
|
---|
19 | return view("dashboard.index")->with([
|
---|
20 | "counters" => $counters,
|
---|
21 | ]);
|
---|
22 | }
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.