Working :

- Add product attributes edit routing
- Add product attributes edit action
This commit is contained in:
mespeche
2013-09-06 17:23:06 +02:00
parent eebe1d4f58
commit 771d9e6322
3 changed files with 17 additions and 5 deletions

View File

@@ -43,7 +43,7 @@ use Thelia\Form\MessageCreationForm;
class AttributeController extends BaseAdminController
{
/**
* The default action is displaying the messages list.
* The default action is displaying the attributes list.
*
* @return Symfony\Component\HttpFoundation\Response the response
*/
@@ -54,4 +54,10 @@ class AttributeController extends BaseAdminController
return $this->render('product-attributes');
}
public function updateAction() {
if (null !== $response = $this->checkAuth("admin.configuration.attributes.update")) return $response;
return $this->render('product-attributes-edit');
}
}