Commit e9a6c59e authored by alissonalbuquerque's avatar alissonalbuquerque
Browse files

update branch

parent 28a91bee
...@@ -209,7 +209,11 @@ class User extends Authenticatable ...@@ -209,7 +209,11 @@ class User extends Authenticatable
*/ */
public function isTypeTeacher() public function isTypeTeacher()
{ {
dd('professor'); dd([
'professor',
'profile' => $this->profileSelected()->type === UserType::TEACHER
]);
return $this->profileSelected()->type === UserType::TEACHER; 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