Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
pad-upe
Commits
32eb184f
Commit
32eb184f
authored
Mar 05, 2024
by
alissonalbuquerque
Browse files
update
parent
246971f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/DashboardController.php
View file @
32eb184f
...
@@ -26,7 +26,7 @@ class DashboardController extends Controller
...
@@ -26,7 +26,7 @@ class DashboardController extends Controller
}
}
if
(
$user
->
isTypeTeacher
())
{
if
(
$user
->
isTypeTeacher
())
{
dd
(
'update'
);
dd
(
'update
teacher
'
);
$userPads
=
UserPad
::
whereUserId
(
$user
->
id
)
->
whereStatus
(
Status
::
ATIVO
)
->
get
();
$userPads
=
UserPad
::
whereUserId
(
$user
->
id
)
->
whereStatus
(
Status
::
ATIVO
)
->
get
();
return
view
(
'dashboard'
,
[
'userPads'
=>
$userPads
,
'menu'
=>
Menu
::
HOME
]);
return
view
(
'dashboard'
,
[
'userPads'
=>
$userPads
,
'menu'
=>
Menu
::
HOME
]);
...
...
Write
Preview
Markdown
is supported
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