Deleted extra end from posts_controller