Skip to content

Commit

Permalink
Merge pull request #250 from tmarly/fix-admin-routes
Browse files Browse the repository at this point in the history
Fix admin urls
  • Loading branch information
loevgaard authored Aug 28, 2023
2 parents fdce312 + a750327 commit 2acdf35
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Resources/config/routes/admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ setono_sylius_gift_card_admin_gift_card_create_for_channel:
path: /gift-cards/create
methods: [GET]
defaults:
_controller: sylius.controller.channel:indexAction
_controller: sylius.controller.channel::indexAction
_sylius:
repository:
method: findAll
Expand All @@ -76,7 +76,7 @@ setono_sylius_gift_card_admin_gift_card_create:
path: /gift-cards/create/{channelCode}
methods: [GET, POST]
defaults:
_controller: setono_sylius_gift_card.controller.gift_card:createAction
_controller: setono_sylius_gift_card.controller.gift_card::createAction
_sylius:
factory:
method: createForChannel
Expand All @@ -99,7 +99,7 @@ setono_sylius_gift_card_admin_gift_card_orders_index:
path: /gift-cards/{id}/orders
methods: [GET, POST]
defaults:
_controller: sylius.controller.order:indexAction
_controller: sylius.controller.order::indexAction
_sylius:
vars:
route:
Expand Down
4 changes: 2 additions & 2 deletions src/Resources/config/routes/admin_ajax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ setono_sylius_gift_card_admin_ajax_customer_by_email_phrase:
path: /customer/search
methods: [GET]
defaults:
_controller: sylius.controller.customer:indexAction
_controller: sylius.controller.customer::indexAction
_format: json
_sylius:
serialization_groups: [Default]
Expand All @@ -16,7 +16,7 @@ setono_sylius_gift_card_admin_ajax_customer_by_email:
path: /customer/email
methods: [GET]
defaults:
_controller: sylius.controller.customer:indexAction
_controller: sylius.controller.customer::indexAction
_format: json
_sylius:
serialization_groups: [Default]
Expand Down

0 comments on commit 2acdf35

Please sign in to comment.