Commit 215e8e50 authored by alissonalbuquerque's avatar alissonalbuquerque
Browse files

update

parent e9a6c59e
......@@ -209,11 +209,11 @@ class User extends Authenticatable
*/
public function isTypeTeacher()
{
dd([
'professor',
'profile' => $this->profileSelected()->type === UserType::TEACHER
]);
// dd([
// 'professor',
// 'profile' => $this->profileSelected()->type === UserType::TEACHER
// ]);
return true;
return $this->profileSelected()->type === UserType::TEACHER;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment