Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorjervis
     

    How to send the var?

    <?php echo $controller->renderPartial('home_page'); ?>
    
    •  
      CommentAuthorbermi
     

    I don't fully understand your question. If you mean passing variables to the partial you can do it like

    <?php echo $controller->renderPartial('home_page', array('Post'=> $Post)); ?>
    

    or using Sintags like

    <%= render_partial 'home_page', :Post => Post %>