Removed the foreach inside the _comments partial view.
Now the Comment model know how to approve a Comment because it has approve method.
Also, it knows the url of the Comment using the getUrl method.
Inside the CommentController modified the actionIndex method to retrieve the Comments.
Also, the CommentController has a new action named actionApprove, which approves a Comment.
Inside Post model, modified comments into comment inside the relations method.
Also added a new method addComment whth as its name states, adds a new comment.
Removed addComment method from PostController. This was moves inside Post model.
Modified comments into comment inside post/view.
Inside comment/view a layput for displaing the comments.