RafaelVidaurre / angular-permission

Simple route authorization via roles/permissions
MIT License
1.13k stars 212 forks source link

fix: Keep transitionOptions location intact if truthy #450

Closed Natsuke closed 5 years ago

Natsuke commented 5 years ago

Hi guys,

Just found some issue where the transitionOptions.location = replace not being kept between all transitions which can lead into some trouble from ui-router location feature.

The idea is to keep the replace while specified and true otherwise.

Feel free to comment 👍

masterspambot commented 5 years ago

@Natsuke Can you update test suites for that as well?

masterspambot commented 5 years ago

Closing due to: