Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Two issues this fixes: 1. When using Traversal (which hasn't been committed yet), request.matched_route will be None which crashes if you access request.matched_route.name 2. It needed to look at the request method (being POST or GET), otherwise it always ended up redirecting to request.route_path("home"). This part should never have run if the request method was POST: >>> return_url = request.route_path("home") Closes #28
- Loading branch information