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

feat: support redirect params #566

Merged
merged 1 commit into from
May 30, 2018
Merged

feat: support redirect params #566

merged 1 commit into from
May 30, 2018

Conversation

sorrycc
Copy link
Member

@sorrycc sorrycc commented May 30, 2018

e.g.

<Redirect from="/posts/:id" to="/users/:id" />

Then request /posts/foo will redirect to /users/foo .

Example:

@sorrycc sorrycc merged commit 83afa1b into master May 30, 2018
@sorrycc sorrycc deleted the feat/redirect-params branch May 30, 2018 04:24
@coveralls
Copy link

coveralls commented May 30, 2018

Pull Request Test Coverage Report for Build 529

  • 0 of 2 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 21.355%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/umi/src/renderRoutes.js 0 2 0.0%
Totals Coverage Status
Change from base Build 527: -0.01%
Covered Lines: 509
Relevant Lines: 2596

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants