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

Accept string as parameter in Route::resource()->parameters() #20531

Merged
merged 1 commit into from
Aug 12, 2017
Merged

Accept string as parameter in Route::resource()->parameters() #20531

merged 1 commit into from
Aug 12, 2017

Conversation

balping
Copy link
Contributor

@balping balping commented Aug 12, 2017

This PR solves a similar issue as this one. Read that first.

According to this line, parameters can be a string too.

I also added a test about the parameter() chainable method that was lacking.

@taylorotwell taylorotwell merged commit e44933a into laravel:master Aug 12, 2017
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