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
7c5a04b8
Commit
7c5a04b8
authored
Mar 05, 2024
by
alissonalbuquerque
Browse files
push
parent
215e8e50
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Http/Controllers/DashboardController.php
View file @
7c5a04b8
...
...
@@ -26,7 +26,7 @@ class DashboardController extends Controller
}
if
(
$user
->
isTypeTeacher
())
{
$userPads
=
UserPad
::
whereUserId
(
$user
->
id
)
->
whereStatus
(
Status
::
ATIVO
)
->
get
();
return
view
(
'dashboard'
,
[
'userPads'
=>
$userPads
,
'menu'
=>
Menu
::
HOME
]);
...
...
@@ -50,6 +50,7 @@ class DashboardController extends Controller
return
view
(
'dashboard'
,
[
'userPads'
=>
$userPads
,
'menu'
=>
Menu
::
HOME
]);
}
dd
(
'não entrou em nenhuh if'
);
//return redirect()->route('login');
}
}
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