Sorry, i'm novice with laravel.
Is there a way to know, in laravel, which view a request comes from?
For example I have a page called "first.blade.php" and a call "second.blade.php". Both have a link to the third.blade.php page.
In third.blade.php, I wish I could do such a thing:
if ($come_from == "first") {
// do somenthing
}
elseif ($come_from == "second") {
// do something else
}