I currently have a login popup in my header bar which is on every page in my website. I want to be able to reload the current page that the person is on after a successful
just redirect to whatever url you want in the function:
redirect_to what_ever_path