Skip to content

Commit

Permalink
Merge pull request #388 from em411/fix/pages-routing
Browse files Browse the repository at this point in the history
Fix custom templates for pages routing
  • Loading branch information
KrisFlorq authored Aug 11, 2021
2 parents 41bcabf + c455231 commit 8473b5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Resources/config/routing/shop/page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ bitbag_sylius_cms_plugin_shop_page_index_by_section_code_no_grid:

bitbag_sylius_cms_plugin_shop_page_index_by_section_code_template:
path: /pages-template/{sectionCode}
methods: [GET]
defaults:
_controller: bitbag_sylius_cms_plugin.controller.page:indexAction
_sylius:
template: $template
grid: bitbag_sylius_cms_plugin_shop_page
repository:
method: findBySectionCode
arguments:
Expand Down

0 comments on commit 8473b5d

Please sign in to comment.