Fixed routing error in post view and remove debug messages