Fixed Posts controller (had an extra end)