How to override current_user?


#1

Hello

I would like to override the current_user def, because I don't really

like to store whole User model in a session, just user_id. I would like
to current_user fetch the user from db instead.

Peter