How can change the content of the view from the controller?
How can change the content of the view from the controller?
I would like to have a preferences painel that knows if the user is logged in,
if yes :it shows a tab view,
if not: it shows another tab view ->completly diferent,
but the user can acess the preferences painel if he is logged in and if he is not.