Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ZeMKI
Mesort
Commits
f4fb3bfd
Commit
f4fb3bfd
authored
Apr 01, 2020
by
ZeMKI
Browse files
Update AdminController.php
parent
c688f497
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/AdminController.php
View file @
f4fb3bfd
...
...
@@ -26,7 +26,7 @@ class AdminController extends Controller
$data
[
'usercount'
]
=
User
::
all
()
->
count
();
$data
[
'studiescount'
]
=
Study
::
all
()
->
count
();
$data
[
'interviewcount'
]
=
Interview
::
all
()
->
count
();
$data
[
'actions'
]
=
Action
::
with
(
'user'
)
->
paginate
(
15
);
$data
[
'actions'
]
=
Action
::
with
(
'user'
)
->
orderBy
(
'id'
,
'desc'
)
->
paginate
(
15
);
$data
[
'actionscount'
]
=
Action
::
all
()
->
count
();
$data
[
'occupiedstorage'
]
=
$this
->
formatBytes
(
Files
::
occupiedStorage
());
return
view
(
'admin.dashboard'
,
$data
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment