sonicoder86 / angular2-babel-esnext-starter

Angular development and testing examples with Babel in Javascript (ES6/ES7).
487 stars 84 forks source link

Browser back button not working #16

Closed abacaj closed 8 years ago

abacaj commented 8 years ago

On Chrome clicking New Post and then trying to press the back button does not bring you back to the homepage - is this intended?

sonicoder86 commented 8 years ago

Does it happen when you are logged out and click on new post? If so it is not intended, but when you hit the back button, you navigate to an authorized url (new post), which is redirected to the login page because of being unauthorized.

sonicoder86 commented 8 years ago

the new post button is no longer available in logged out state, and also there is no navigation if it cant activate it, so it wont happen with this setup