Hi,

I read that we can use both:

session('key')
and
session->{key}

...in order to get a value from the session.

I tried:

template 'login', { message => session->{flash} };

but it didn't work. However, the following worked:

template 'login', { message => session('flash') };

--Octavian

_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to