Vincent,
The helper is there regardless. However, current_user will only be
populated _if the user is logged in_. To enable sessions, add this to
your extension, in the activate method:
SiteController.class_eval { session :disabled => false }
Sean
Vincent Pérès wrote:
Hello Sean,
I didn
Hello Sean,
I didn't enabled session, I created a new page type which is not using
cache.
In fact, the problem is on site_controller level, when I'm giving the
current user to my current page :
@page.current_user = current_user
On my computer 'current_user' exist, but the var is nil on the othe