конфиг

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2022-02-07 14:29:42 +10:00
parent 4c91c3192a
commit 24f079f622

View File

@ -99,8 +99,9 @@ $config = [
'<_key:[0-9]+>/files/<file:[^/]+>' => 'account/file', '<_key:[0-9]+>/files/<file:[^/]+>' => 'account/file',
'<_key:[0-9]+>/<action:(accept|decline)>' => 'account/<action>', '<_key:[0-9]+>/<action:(accept|decline)>' => 'account/<action>',
'product/<catn:[^/]+>' => 'product/index', 'product/<catn:[^/]+>' => 'product/index',
'product/<catn:[^/]+>/<action:(write|delete|connect|disconnect)>' => 'product/<action>', 'product/<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>',
'profile/geolocation/<action:(init|write)>' => 'profile/geolocation-<action>', 'profile/geolocation/<action:(init|write)>' => 'profile/geolocation-<action>',
'profile/panel/<panel:(suppliers)>/<block:(requests)>/<action:(search)>' => 'profile/panel-<panel>-<block>-<action>', 'profile/panel/<panel:(suppliers)>/<block:(requests)>/<action:(search)>' => 'profile/panel-<panel>-<block>-<action>',
'profile/imports/<action:(delete)>' => 'profile/imports-<action>', 'profile/imports/<action:(delete)>' => 'profile/imports-<action>',