helpy
helpy copied to clipboard
Signing in from a KB page should redirect the user back to the page they were on
Currently it bounces them to the home page, losing their context if they want to comment
I was wondering... Don't you think that should be made for all contexts? I mean, if an admin tries to access settings but is not logged in, shouldn't it be redirected to settings after logging in, instead of admin home?
Please take a look: https://github.com/helpyio/helpy/pull/692
I Used this post as reference -> https://github.com/plataformatec/devise/wiki/How-To:-Redirect-back-to-current-page-after-sign-in,-sign-out,-sign-up,-update