Skip to content
This repository has been archived by the owner on Jul 28, 2018. It is now read-only.

Clicking browser back button from an error page to a non-error page, retains the styles of the error page #676

Open
rsukale opened this issue Mar 17, 2017 · 0 comments

Comments

@rsukale
Copy link

rsukale commented Mar 17, 2017

Here's the scenario

/page-valid (valid route in the app)
/page-invalid (this route does not exist)

if /page-valid has a link to /page-invalid, and the user clicks on it, we get the standard rails error page as expected, with all the red colors.

Now if the user presses the back button to go back to /page-valid, the styles from the error page are retained.

@rsukale rsukale changed the title Clicking back from an error page to a non-error page, retains the styles of the error page Clicking browser back button from an error page to a non-error page, retains the styles of the error page Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant