Skip to content

Commit

Permalink
Doc issue fix directus#84 (directus#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
binal-7span authored and Lapsus committed May 8, 2019
1 parent 11cd7ca commit 219d5d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@
foreach ($endpointsList as $name => $endpoints) {
\Directus\create_group_route_from_array($this, $name, $endpoints);
}
})->add($middleware['table_gateway']);
})
->add($middleware['auth'])
->add($middleware['table_gateway']);

$this->group('/pages', function () {
$endpointsList = \Directus\get_custom_endpoints('public/extensions/core/pages', true);
Expand Down

0 comments on commit 219d5d3

Please sign in to comment.