mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 11:12:23 +08:00
c72bf1d732
The exception page is shown before Ember can actually figure out what the final destination URL we're going to is. This means that the new page is not present in the history stack, so if we attempt to use the history stack to go back, we will actually navigate back by two steps. By instead forcing a navigation to the current URL, we achieve the goal of going "back" with no history mucking. Unfortunately, the actual URL that was attempted is not available. Additionally, this only works for the on-screen back button and not the browser back. Additionally, several modernizations of the exception page code were made. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |