Unfortunately, I still can't fully tell what's going on, but I would guess that your error is coming...
To add onto that, this is not a Laravel thing. This is a PHP thing. Take a look at Example #2 (Integ...
If you don't like injecting it, there are also view composers and view shares. http://laravel.com/do...
Edit your route to accept a second argument. Wrong example: edit/{id} Correct example: edit/{id}/{we...
The Laravel portal for problem solving, knowledge sharing and community building.