I am using Rails with a SPA (React). When trying to get the full path, I cannot seem to be able to get the entire path after the domain. It always truncates everything after the hash:
url: http://localhost:3000/r?locale=en#/site-personalization
request.fullpath
returns:
/r?locale=en
request.path
returns:
/r
What method can I use to get everything including the #/site-personalization
portion of the URL?
I'm hoping that "Get anchor part of URL in controller in Ruby on Rails" is not the same problem as what I'm facing.