Adding tests for securing private variable inclussion on templates.
[akelos.git] / test / fixtures / app / controllers / post_controller.php
blobc43d2eb8a909479d1a09347644f95b09b3adb715
1 <?php
3 class PostController extends ApplicationController
5 var $finder_options = array('Post'=>array('include'=>'comments'));
7 function comments()
9 $this->renderText(join('', Ak::collect($this->post->comments,'id','body')));