C
C
chelkaz2016-03-08 03:40:27
Laravel
chelkaz, 2016-03-08 03:40:27

Laravel 5.2 How to pass parameter to any page?

How to pass a parameter to any page? Through a specific router it is clear. For example, in the sidebar there is a user photo and his data. They are visible on any page. How to do it better? Do not prescribe this data for each route ...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
root09, 2016-03-08
@root09

https://laravel.com/docs/5.2/authentication
?

E
Eugene, 2016-03-08
@Eugene_H

https://laravel.com/docs/master/views#sharing-data...

E
Eugene, 2016-03-08
@Nc_Soft

https://laravel.com/docs/master/views#view-composers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question