Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle][DX] Improving redirect config when using RedirectController#12189

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@yceruto
Copy link
Member

Update according tosymfony/symfony#33217

@wouterjwouterj added the Waiting Code MergeDocs for features pending to be merged labelAug 17, 2019
yceruto added a commit to symfony/symfony that referenced this pull requestAug 23, 2019
…en using RedirectController (yceruto)This PR was merged into the 4.4 branch.Discussion----------[FrameworkBundle][DX] Improving the redirect config when using RedirectController| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        |symfony/symfony-docs#12189follow-up#24637**Before:**```yaml# config/routes.yamldoc_shortcut:    path: /doc    controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction    defaults:        route: 'doc_page'legacy_doc:    path: /legacy/doc    controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction    defaults:        path: 'https://legacy.example.com/doc'```**After:**```yaml# config/routes.yamldoc_shortcut:    path: /doc    controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController    defaults:        route: 'doc_page'legacy_doc:    path: /legacy/doc    controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController    defaults:        path: 'https://legacy.example.com/doc'```See more before/after configs (XML, PHP) in doc PRsymfony/symfony-docs#12189Commits-------0ebb469 Improving redirect config when using RedirectController
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull requestAug 23, 2019
…en using RedirectController (yceruto)This PR was merged into the 4.4 branch.Discussion----------[FrameworkBundle][DX] Improving the redirect config when using RedirectController| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        |symfony/symfony-docs#12189follow-upsymfony/symfony#24637**Before:**```yaml# config/routes.yamldoc_shortcut:    path: /doc    controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction    defaults:        route: 'doc_page'legacy_doc:    path: /legacy/doc    controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction    defaults:        path: 'https://legacy.example.com/doc'```**After:**```yaml# config/routes.yamldoc_shortcut:    path: /doc    controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController    defaults:        route: 'doc_page'legacy_doc:    path: /legacy/doc    controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController    defaults:        path: 'https://legacy.example.com/doc'```See more before/after configs (XML, PHP) in doc PRsymfony/symfony-docs#12189Commits-------0ebb469 Improving redirect config when using RedirectController
@yceruto
Copy link
MemberAuthor

Code merged!

@OskarStarkOskarStark removed the Waiting Code MergeDocs for features pending to be merged labelAug 23, 2019
@javiereguiluzjaviereguiluz added this to the4.4 milestoneSep 2, 2019
javiereguiluz added a commit that referenced this pull requestSep 2, 2019
…ng RedirectController (yceruto)This PR was merged into the 4.4 branch.Discussion----------[FrameworkBundle][DX] Improving redirect config when using RedirectControllerUpdate according tosymfony/symfony#33217Commits-------f59c61f [DX] Improving redirect config
@javiereguiluzjaviereguiluz merged commitf59c61f intosymfony:4.4Sep 2, 2019
@javiereguiluz
Copy link
Member

Yonel, thanks for this nice feature and for providing the docs too. Merged!

@ycerutoyceruto deleted the simpler_redirect_config branchSeptember 2, 2019 15:58
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@wouterjwouterjwouterj approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@yceruto@javiereguiluz@wouterj@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp