<?php

/**
 * Created by PhpStorm.
 * User: leos
 * Date: 8/1/17
 * Time: 3:26 PM.
 */

namespace KupShop\ContentBundle\Controller;

use KupShop\ContentBundle\View\AccountView;
use KupShop\KupShopBundle\Routing\TranslatedRoute;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;

class AccountController extends AbstractController
{
    /**
     * @TranslatedRoute("/#account#/", name="account")
     */
    public function accountAction(Request $request, AccountView $view)
    {
        $view->setRequest($request);

        return $view->getResponse();
    }
}
