Layout is rendered twice

QUICK TIPS!

In Phalcon MVC to avoid layout render twice make sure your naming is different, when common folder with all layouts is sharable, names of each layout should be different from module name or controller name.

 

Happy Coding 🙂