You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
460 B
18 lines
460 B
<?php
|
|
|
|
$fields = require __DIR__ . '/../fields/drawers.php';
|
|
|
|
return [
|
|
// user field drawers
|
|
'user.fields' => [
|
|
'pattern' => '(users/.*?)/fields/(:any)/(:all?)',
|
|
'load' => $fields['model']['load'],
|
|
'submit' => $fields['model']['submit']
|
|
],
|
|
// user file fields drawers
|
|
'user.file.fields' => [
|
|
'pattern' => '(users/.*?)/files/(:any)/fields/(:any)/(:all?)',
|
|
'load' => $fields['file']['load'],
|
|
'submit' => $fields['file']['submit']
|
|
],
|
|
];
|
|
|