Skip to content

Allow custom ID's for models#12

Open
alexamster wants to merge 1 commit into
etabits:masterfrom
alexamster:allow-custom-id
Open

Allow custom ID's for models#12
alexamster wants to merge 1 commit into
etabits:masterfrom
alexamster:allow-custom-id

Conversation

@alexamster

Copy link
Copy Markdown

Currently any Id that does not match /^[0-9a-f]{24}$/ will result in a 404. I am using UUID's in a project so none of the models ever load 😢

Currently any Id that does not match /^[0-9a-f]{24}$/ will result in a 404 (such as UUIDv4).
@aularon

aularon commented Jun 20, 2016

Copy link
Copy Markdown
Contributor

Hello,
I am in favor of making this a configurable option, with the default of /^[0-9a-f]{24}$/, otherwise it may break custom actions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants