Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] fix prefix url on locale api path #15311

Merged
merged 2 commits into from
Sep 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<collectionOperations>
<collectionOperation name="admin_get">
<attribute name="method">GET</attribute>
<attribute name="path">admin/locales</attribute>
<attribute name="path">/admin/locales</attribute>
<attribute name="normalization_context">
<attribute name="groups">admin:locale:read</attribute>
</attribute>
Expand All @@ -31,15 +31,15 @@

<collectionOperation name="admin_post">
<attribute name="method">POST</attribute>
<attribute name="path">admin/locales</attribute>
<attribute name="path">/admin/locales</attribute>
<attribute name="denormalization_context">
<attribute name="groups">admin:locale:create</attribute>
</attribute>
</collectionOperation>

<collectionOperation name="shop_get">
<attribute name="method">GET</attribute>
<attribute name="path">shop/locales</attribute>
<attribute name="path">/shop/locales</attribute>
<attribute name="normalization_context">
<attribute name="groups">shop:locale:read</attribute>
</attribute>
Expand All @@ -49,15 +49,15 @@
<itemOperations>
<itemOperation name="admin_get">
<attribute name="method">GET</attribute>
<attribute name="path">admin/locales/{code}</attribute>
<attribute name="path">/admin/locales/{code}</attribute>
<attribute name="normalization_context">
<attribute name="groups">admin:locale:read</attribute>
</attribute>
</itemOperation>

<itemOperation name="shop_get">
<attribute name="method">GET</attribute>
<attribute name="path">shop/locales/{code}</attribute>
<attribute name="path">/shop/locales/{code}</attribute>
<attribute name="normalization_context">
<attribute name="groups">shop:locale:read</attribute>
</attribute>
Expand Down
Loading