Skip to content

Commit

Permalink
Merge pull request #28 from peacedudes/patch-1
Browse files Browse the repository at this point in the history
Update Route.swift to pass associatedData to .fixed routes
  • Loading branch information
angelodipaolo authored Apr 5, 2017
2 parents 531be79 + 368e538 commit ea31a44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ELRouter/Route.swift
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ open class Route: NSObject {

if let navigator = parentRouter?.navigator {
if let staticValue = staticValue {
_ = action(variable, remainingComponents, &associatedData)
result = staticValue
if let vc = staticValue as? UIViewController {
parentRouter?.navigator?.selectedViewController = vc
Expand Down

0 comments on commit ea31a44

Please sign in to comment.