Skip to content

Commit cc83bb3

Browse files
committed
Place notes_api#fail route at end of route list
Signed-off-by: oli-ver <oli-ver@users.noreply.github.com>
1 parent 2dbe89c commit cc83bb3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

appinfo/routes.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -186,14 +186,6 @@
186186
'apiVersion' => '(v1|v1.4)',
187187
],
188188
],
189-
[
190-
'name' => 'notes_api#fail',
191-
'url' => '/api/{catchAll}',
192-
'verb' => 'GET',
193-
'requirements' => [
194-
'catchAll' => '.*',
195-
],
196-
],
197189
[
198190
'name' => 'notes_api#preflighted_cors',
199191
'url' => '/api/{apiVersion}/{path}',
@@ -221,4 +213,12 @@
221213
'noteid' => '\d+'
222214
],
223215
],
216+
[
217+
'name' => 'notes_api#fail',
218+
'url' => '/api/{catchAll}',
219+
'verb' => 'GET',
220+
'requirements' => [
221+
'catchAll' => '.*',
222+
],
223+
],
224224
]];

0 commit comments

Comments
 (0)