return redirect(request.referrer)

Read more of this post