Skip to content

[9.x] Deprecate Redirect::home()#42600

Merged
taylorotwell merged 1 commit intolaravel:9.xfrom
hailwood:patch-2
Jun 1, 2022
Merged

[9.x] Deprecate Redirect::home()#42600
taylorotwell merged 1 commit intolaravel:9.xfrom
hailwood:patch-2

Conversation

@hailwood
Copy link
Contributor

@hailwood hailwood commented Jun 1, 2022

Deprecate Redirect::home() in response to Taylor's note on #42560

Not sure we even document Redirect::home()... I would just redirect to a specific named route.

Deprecating, this undocumented feature will open up the name for use as a macro or similar by developers after it is removed in probably the 10.0 release.

Deprecate Redirect::home() in response to Taylor's note that it's not even a documented feature.
laravel#42560 (comment)
@ankurk91
Copy link
Contributor

ankurk91 commented Jun 1, 2022

If this PR gets merged, please send another PR to v10.x branch to remove this method.

@hailwood
Copy link
Contributor Author

hailwood commented Jun 1, 2022

If this PR gets merged, please send another PR to v10.x branch to remove this method.

Will do

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