The easiest way might be to do this in your BaseController like so:
public function __construct()
{
$uniqueString = 'myUniqueString';
// Share with all views
View::share('uniqueString', $uniqueString);
You can then access $uniqueString from any view.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community