Skip to content

Resources in routes must be singular #19

@alexmerlin

Description

@alexmerlin

Bug Report

Related to #8

Just remembered that resources in routes should be always singular, regardless of whether we are managing one single piece or a collection of resources.

✅ Correct:

GET /book

❌ Incorrect:

GET /books

See https://github.com/dotkernel/api/blob/6.0/src/Admin/src/RoutesDelegator.php#L36

Q A
Version(s) 1.0.1

@Jurj-Bogdan This should be fixed in the docs as well.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions