Skip to content

Commit

Permalink
Merge pull request Sylius#1789 from jrobeson/replace-routing-pattern-…
Browse files Browse the repository at this point in the history
…with-path

rename routing pattern to path
  • Loading branch information
Paweł Jędrzejewski committed Aug 26, 2014
2 parents 7e10a5a + 31143f4 commit 4764da0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions Resources/config/routing/tax_category.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# (c) Paweł Jędrzejewski

sylius_tax_category_index:
pattern: /
path: /
defaults:
_controller: sylius.controller.tax_category:indexAction
_sylius:
Expand All @@ -13,28 +13,28 @@ sylius_tax_category_index:
_method: GET

sylius_tax_category_create:
pattern: /create
path: /create
defaults:
_controller: sylius.controller.tax_category:createAction
requirements:
_method: GET|POST

sylius_tax_category_update:
pattern: /{id}/update
path: /{id}/update
defaults:
_controller: sylius.controller.tax_category:updateAction
requirements:
_method: GET|POST|PUT

sylius_tax_category_delete:
pattern: /{id}
path: /{id}
defaults:
_controller: sylius.controller.tax_category:deleteAction
requirements:
_method: DELETE

sylius_tax_category_show:
pattern: /{id}
path: /{id}
defaults:
_controller: sylius.controller.tax_category:showAction
requirements:
Expand Down
10 changes: 5 additions & 5 deletions Resources/config/routing/tax_rate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# (c) Paweł Jędrzejewski

sylius_tax_rate_index:
pattern: /
path: /
defaults:
_controller: sylius.controller.tax_rate:indexAction
_sylius:
Expand All @@ -13,28 +13,28 @@ sylius_tax_rate_index:
_method: GET

sylius_tax_rate_create:
pattern: /create
path: /create
defaults:
_controller: sylius.controller.tax_rate:createAction
requirements:
_method: GET|POST

sylius_tax_rate_update:
pattern: /{id}/update
path: /{id}/update
defaults:
_controller: sylius.controller.tax_rate:updateAction
requirements:
_method: GET|POST|PUT

sylius_tax_rate_delete:
pattern: /{id}
path: /{id}
defaults:
_controller: sylius.controller.tax_rate:deleteAction
requirements:
_method: DELETE

sylius_tax_rate_show:
pattern: /{id}
path: /{id}
defaults:
_controller: sylius.controller.tax_rate:showAction
requirements:
Expand Down

0 comments on commit 4764da0

Please sign in to comment.