Elcodi\Store\CoreBundle\Controller\HomeController::homeAction PHP Method

homeAction() public method

Home page.
public homeAction ( ) : Response
return Symfony\Component\HttpFoundation\Response Response
    public function homeAction()
    {
        $purchasables = $this->get('elcodi.repository.purchasable')->getHomePurchasables(9, true);
        return $this->renderTemplate('Pages:home-view.html.twig', ['purchasables' => $purchasables]);
    }
HomeController