настройки маршрутизации под производителя

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2022-04-13 13:18:06 +10:00
parent 4f80a465bc
commit ab97036822

View File

@ -98,8 +98,8 @@ $config = [
'<_key:[0-9]+>/<target:[^/]+>/<action:(read|edit|delete|regenerate)>' => 'account/<action>', '<_key:[0-9]+>/<target:[^/]+>/<action:(read|edit|delete|regenerate)>' => 'account/<action>',
'<_key:[0-9]+>/files/<file:[^/]+>' => 'account/file', '<_key:[0-9]+>/files/<file:[^/]+>' => 'account/file',
'<_key:[0-9]+>/<action:(accept|decline|data)>' => 'account/<action>', '<_key:[0-9]+>/<action:(accept|decline|data)>' => 'account/<action>',
'product/<catn:[^/]+>' => 'product/index', 'product/<prod:[^/]+>/<catn:[^/]+>' => 'product/index',
'product/<catn:[^/]+>/<action:(write|delete|connect|disconnect|status)>' => 'product/<action>', 'product/<prod:[^/]+>/<catn:[^/]+>/<action:(write|delete|connect|disconnect|status)>' => 'product/<action>',
'<section:(product|cart)>/<catn:[^/]+>/<action:(read|write|edit|delete)>/<target:(title|catn|dscr|dmns|wght|image|cover|comm)>' => '<section>/<action>-<target>', '<section:(product|cart)>/<catn:[^/]+>/<action:(read|write|edit|delete)>/<target:(title|catn|dscr|dmns|wght|image|cover|comm)>' => '<section>/<action>-<target>',
'products/<action:(read)>/<stts:[^/]+>/' => 'product/<action>', 'products/<action:(read)>/<stts:[^/]+>/' => 'product/<action>',
'profile/geolocation/<action:(init|write)>' => 'profile/geolocation-<action>', 'profile/geolocation/<action:(init|write)>' => 'profile/geolocation-<action>',