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

[11.x] Fix explicit route binding for broadcast routes #52280

Merged
merged 2 commits into from
Jul 26, 2024
Merged

[11.x] Fix explicit route binding for broadcast routes #52280

merged 2 commits into from
Jul 26, 2024

Conversation

ccharz
Copy link
Contributor

@ccharz ccharz commented Jul 26, 2024

Fixing explicit route binding problems in broadcasting routes as explained in #51726 (comment)

This problems started to appear because of #51651 which added the new route parameter to the forModel callback, which is not passed from broadcast routes.

With this pull request the route parameter is made optional.

@taylorotwell taylorotwell merged commit 9e781c2 into laravel:11.x Jul 26, 2024
1 check passed
@taylorotwell
Copy link
Member

Thanks!

@ccharz ccharz deleted the fix-broadcast-route-binding branch July 26, 2024 05:53
@gbradley
Copy link
Contributor

As the author of the offending change - sorry! I almost never use broadcasting so was completely unaware that broadcast routes were even a thing.

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.

3 participants