Add end to post controller. was stupidly removed by Lesley.