HI,
I am trying to implement a lightweight user login (inspired by the one in the PragProg buzzword bingo tutorial.
- I have set up a user name (with an login LV & JS inspired by The Pug Automatic
- I have it in the session
- I can pull it out and use it on LV mount
- I can re-route if a user tries to go straight to a game
I would like to implement a :return_to like in a Controller redirect but am currently flailing.
Could someone give me a pointer? or is this a thing we shouldn’t try and do in LV?
Thanks
Tom