Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to use default route key name in custom router param #31

Merged
merged 2 commits into from
May 26, 2021

Conversation

antonkomarev
Copy link
Member

@antonkomarev antonkomarev commented May 26, 2021

Follow up #30

It will allow us to explicitly use route key too:

Route::get('/posts/{id:encodedId}', function (Post $post) {
    return $post;
});

@antonkomarev antonkomarev merged commit 20c0b94 into master May 26, 2021
@antonkomarev antonkomarev deleted the allow-custom-id-route-key branch May 26, 2021 21:08
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.

1 participant