Updated categoryController to test if the posts loaded are initialized for view
Updated categoryController to test if the posts loaded are initialized for view

codeBusters-softuni/petbook,codeBusters-softuni/petbook