Fixed bug routing bug when redirecting after creating a post