Skip to content

Commit

Permalink
bug ifx
Browse files Browse the repository at this point in the history
  • Loading branch information
lightory committed Apr 24, 2014
1 parent 7a61567 commit 4bd6e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HHRouter/HHRouter.m
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ - (NSArray *)pathComponentsFromRoute:(NSString *)route
NSMutableArray *pathComponents = [NSMutableArray array];
for (NSString *pathComponent in route.pathComponents) {
if ([pathComponent isEqualToString:@"/"]) continue;
if ([[pathComponent substringToIndex:1] isEqualToString:@"?"]) continue;
if ([[pathComponent substringToIndex:1] isEqualToString:@"?"]) break;
[pathComponents addObject:pathComponent];
}

Expand Down

0 comments on commit 4bd6e07

Please sign in to comment.