Good day to all gentlemen. Developing a website on Laravel. There are registered and unregistered users. For the first, some features are added in the form of links in the header of the site. The whole cap is included as follows.
@extends("layouts/header_footer") @section("header") @parent @endsection @section("footer") @parent @endsection How do I pass in the header variable $ user. In the template itself, checking the session is not a hunt and not according to mvc-shovski. Or who has any options for making the caps in a separate file. Thank you all for your help and ideas.