spree/spree — pull request #5418 by marcosteixeira (2014-09-25 20:16:15+00:00)
Title: User store location when signing in. fixes #5125 

This behavior occurs because the ```Spree::Core::ControllerHelpers::Auth#unauthorized``` was overridden in ```Spree::StoreController#unauthorized```.

I change the ```Spree::Core::ControllerHelpers::Auth#unauthorized``` to ```Spree::Core::ControllerHelpers::Auth#redirect_unauthorized_access```.

Now we can just call ```authorize! :action resource```.