K
K
KlassT2016-11-06 21:06:49
Node.js
KlassT, 2016-11-06 21:06:49

How to display profile on every page in sails?

There is a profile on the site and I need to display the login and photo in the site header during authorization. Therefore, I must pass the parameters not to the view, but to the template. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew Lewman, 2016-12-15
@ImLoaD

Variables from the session are available to you in the template

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question