1 min readJul 5, 2019
That depends on how you design your code.
One simple solution could be to check if the current profile which you are viewing is yours or not.
eg.
$user->id !== auth()->user()->id
That depends on how you design your code.
One simple solution could be to check if the current profile which you are viewing is yours or not.
eg.
$user->id !== auth()->user()->id
Distraction-free reading. No ads.
Organize your knowledge with lists and highlights.
Tell your story. Find your audience.
Read member-only stories
Support writers you read most
Earn money for your writing
Listen to audio narrations
Read offline with the Medium app