Skip to content

session, cookies, and current_user are only accessible while rendering #52

@ernest4

Description

@ernest4

Hey guys :)

If i understand this correctly then i need to uncomment this to get access to session / cookies?

Screenshot 2020-09-12 at 01 24 16

But no matter what, i cant seem to be able to access them. Get an error about undefined method 'controller'

Screenshot 2020-09-12 at 01 26 35

Am i doing something wrong or?

just trying to execute this bit of logic here, update Current user.

Screenshot 2020-09-12 at 01 27 58

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions