I have authentication through omniauth, and this link is available on every page through layout / application.html.haml.
However, when they complete omniauth authentication, they all go to root.
How can I configure it to be redirected to the actual page from which they clicked on the authentication link (which passes them to the oauth provider).
thank
source
share