Skip to content

Commit

Permalink
Merge pull request #46 from harshalbhakta/fix-parameters-bug
Browse files Browse the repository at this point in the history
Fix parameters in route
  • Loading branch information
joemasilotti authored Nov 12, 2024
2 parents 3ba9441 + ebb3858 commit f36ec68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Turbo/Navigator/Navigator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public class Navigator {
/// - Parameter parameters: provide context relevant to `url`
public func route(_ url: URL, options: VisitOptions? = VisitOptions(action: .advance), parameters: [String: Any]? = nil) {
let properties = session.pathConfiguration?.properties(for: url) ?? PathProperties()
route(VisitProposal(url: url, options: options ?? .init(action: .advance), properties: properties))
route(VisitProposal(url: url, options: options ?? .init(action: .advance), properties: properties, parameters: parameters))
}

/// Transforms `VisitProposal` -> `UIViewController`
Expand Down

0 comments on commit f36ec68

Please sign in to comment.