Perhaps I misunderstand how request.referrer
works, but isn't it suppose to provide you with the url of the page the user is coming from? So for instance, if they're viewing an article and then click edit, their request might look like this:
request.referrer = http://localhost:3000/article/1
request.url = http://localhost:3000/article/1/edit
If that's the case, then I'm getting odd behaviour, because the user's request.referrer
is always set to the current url. What might be causing this? It's worth noting that I'm using an AJAX powered site, and all these requests are remote.