Update application/controllers/posts.php

public