File tree Expand file tree Collapse file tree
Resources/config/routing/admin Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ protected function getBlockTranslation(): TranslationInterface
9595 return $ this ->getTranslation ();
9696 }
9797
98- protected function createTranslation (): BlockTranslation
98+ protected function createTranslation (): BlockTranslationInterface
9999 {
100100 return new BlockTranslation ();
101101 }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ bitbag_sylius_cms_plugin_admin_block:
2222
2323bitbag_sylius_cms_plugin_admin_block_preview :
2424 path : /block/preview
25- methods : [POST, PUT]
25+ methods : [GET, POST, PUT]
2626 defaults :
2727 _controller : bitbag_sylius_cms_plugin.controller.block:previewAction
2828 _sylius :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ bitbag_sylius_cms_plugin_admin_media:
1919
2020bitbag_sylius_cms_plugin_admin_media_preview :
2121 path : /media/preview/{id}
22- methods : [POST, PUT]
22+ methods : [GET, POST, PUT]
2323 defaults :
2424 _controller : bitbag_sylius_cms_plugin.controller.media:previewAction
2525 _sylius :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ bitbag_sylius_cms_plugin_admin_page:
1919
2020bitbag_sylius_cms_plugin_admin_page_preview :
2121 path : /page/preview/{id}
22- methods : [POST, PUT]
22+ methods : [GET, POST, PUT]
2323 defaults :
2424 _controller : bitbag_sylius_cms_plugin.controller.page:previewAction
2525 _sylius :
You can’t perform that action at this time.
0 commit comments