• Why not use request.referer?
  • StoreLocation to the rescue
  • 2nd Approach
  • Setting up the controller for sign in
  • Legacy versions of Devise prior to 3.2.1