add helper checkXmlHttpRequest

This commit is contained in:
Manuel Raynaud
2013-09-12 16:45:32 +02:00
parent 22f42c8d9c
commit 2bf6ee51e1
6 changed files with 57 additions and 17 deletions

View File

@@ -39,6 +39,15 @@ use Thelia\Tools\URL;
class AddressController extends BaseFrontController
{
/**
* Controller for generate modal containing update form
* Check if request is a XmlHttpRequest and address owner is the current customer
* @param $address_id
*/
public function generateModalAction($address_id)
{
$this->checkXmlHttpRequest();
}
/**
* Create controller.
* Check if customer is logged in