otwcode/otwarchive — pull request #516 by CristinaRO (2012-03-03 21:49:20+00:00)
Title: Subscriptions 404

Susbcribing should return one to the subscribable, since this is so far the only place where one can subscribe from.

Unsubscribing should return one to the page they were on, or to the subscribable if no referrer information was sent. (The lack of referrer was causing error 500, so I think this is definitely better now than it was.)

Also, unsubscribing with or without Javascript should now work the same - given how easy it is to subscribe again.

The 404 error was caused by the server trying to go back to the individual subscription link, /users/me/subscriptions/3, which doesn't have a GET route. Hence the need to skip store_location, to prevent storing the return_to location to something that doesn't have a GET path.

http://code.google.com/p/otwarchive/issues/detail?id=2589
http://code.google.com/p/otwarchive/issues/detail?id=2934