Skip to content

Commit

Permalink
Merge pull request Sylius#175 from aRn0D/product/summary
Browse files Browse the repository at this point in the history
Adding summary chapter, the configuration reference has been updated
  • Loading branch information
Paweł Jędrzejewski committed Aug 19, 2014
2 parents 6b6d8eb + 32429ad commit f2928b8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bundles/SyliusProductBundle/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ product variations with a very flexible architecture.
forms
prototypes
product_builder
configuration
summary
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Summary
=======

Configuration reference
=======================
-----------------------

.. code-block:: yaml
Expand All @@ -8,17 +11,28 @@ Configuration reference
engine: twig # Templating engine to use by default.
classes:
product:
model: ~ # The product model class.
model: Sylius\Component\Product\Model\Product
controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
repository: ~
form: Sylius\Bundle\AssortmentBundle\Form\Type\ProductType
property:
model: Sylius\Bundle\ProductBundle\Model\Property
controller: Sylius\Bundle\ResourceBundle\Controller\ResourceController
repository: ~
form: Sylius\Bundle\AssortmentBundle\Form\Type\PropertyType
product_prototype:
model: Sylius\Bundle\ProductBundle\Model\Prototype
model: Sylius\Component\Product\Model\Prototype
controller: Sylius\Bundle\ProductBundle\Controller\PrototypeController
repository: ~
form: Sylius\Bundle\AssortmentBundle\Form\Type\PrototypeType
validation_groups:
product: [sylius] # Product validation groups.
product_prototype: [sylius] # Product prototype validation groups.
Tests
-----

.. code-block:: bash
$ composer install --dev --prefer-dist
$ bin/phpspec run -fpretty --verbose
Bug tracking
------------

This bundle uses `GitHub issues <https://github.com/Sylius/Sylius/issues>`_.
If you have found bug, please create an issue.

0 comments on commit f2928b8

Please sign in to comment.