Skip to content

Commit ff1f201

Browse files
committed
Fixed typo in README
The example code wants to push the "User" segment, not the "Home" segment.
1 parent 464aaa1 commit ff1f201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ If your navigation stack uses a modal presentation for this transition, the impl
122122
func pushRouteSegment(identifier: RouteElementIdentifier,
123123
completionHandler: RoutingCompletionHandler) -> Routable {
124124

125-
if identifier == "Home" {
125+
if identifier == "User" {
126126
// 1.) Perform the transition
127127
userViewController = UIStoryboard(name: "Main", bundle: nil)
128128
.instantiateViewControllerWithIdentifier("UserViewController") as! Routable

0 commit comments

Comments
 (0)