Closed EasterPeanut closed 3 years ago
Hi! LiveView was not around yet when I first built this but this makes a lot of sense! Thanks a lot for the PR!
I just pushed a new version with your changes, thanks again!
I just pushed a new version with your changes, thanks again!
Cool, thank you as well :D
Would like to propose the following change to the last_path(s) helpers.
Instead of just the conn, let these helpers also accept a map representing the session. This because when in using Phoenix LiveViews there is no conn available, but there is the session on mount. This can be helpful whenever one would like to redirect to the last non-LiveView path visited.