Skip to content

Commit

Permalink
Fix monsieurbiz#201 - authorize empty search
Browse files Browse the repository at this point in the history
  • Loading branch information
cbastienbaron authored Dec 15, 2023
1 parent 00e9fb6 commit baca4d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/config/routing/shop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ monsieurbiz_search_search:
defaults:
_controller: MonsieurBiz\SyliusSearchPlugin\Controller\SearchController::searchAction
requirements:
query: .+
query: .*
condition: "not(context.getPathInfo() matches '`^%sylius.security.new_api_route%`') and context.checkElasticsearch()"

monsieurbiz_search_post:
Expand Down

0 comments on commit baca4d4

Please sign in to comment.