Skip to content

Commit 4111829

Browse files
committed
add Rule
1 parent c7a8eb7 commit 4111829

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rest/config/web.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
'POST user/login' => 'user/login',
5151

5252
'OPTIONS <controller:\w+>' => '<controller>/options',
53+
'OPTIONS <controller:\w+>/<id:\d+>' => '<controller>/options',
5354
'GET <controller:\w+>' => '<controller>/index',
5455
'GET <controller:\w+>/<id:\d+>' => '<controller>/view',
5556
'POST <controller:\w+>' => '<controller>/create',

0 commit comments

Comments
 (0)