Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
feat(routing): add exact and strict in getMetaRoutes selector
Browse files Browse the repository at this point in the history
feat(routing): add `exact` and `strict` in `getMetaRoutes` selector
  • Loading branch information
Metnew committed Feb 19, 2018
1 parent b0fd734 commit ba143a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/routing/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function routingFnCreator (useFor) {
// Returns `name` + `path`. used in Header
meta () {
return routes
.map(a => _.pick(a, ['path', 'name']))
.map(a => _.pick(a, ['path', 'name', 'exact', 'strict']))
}
}

Expand Down

0 comments on commit ba143a6

Please sign in to comment.