Symfony 4 app using the FOSUserBundle.
I have made custom sub routes for the user profile (eg. profile/bookings), and I have added some custom fields to the user entity (firstName and lastName).
If I reference {{ user.firstName }}
in my twig template on a custom route (non FOSUserBundle route), I get a 'User entity not found' error.
How do I access the properties of the user in the twig template?