- Coupon Add/Edit/Delete rule AJAX
This commit is contained in:
gmorel
2013-09-10 15:41:23 +02:00
parent 0fe443f53d
commit f481da7a2f
10 changed files with 809 additions and 156 deletions

View File

@@ -251,4 +251,14 @@ class BaseController extends ContainerAware
{
throw new NotFoundHttpException();
}
/**
* Check if environment is in debug mode
*
* @return bool
*/
protected function isDebug()
{
return $this->container->getParameter('kernel.debug');
}
}