Skip to content

Commit

Permalink
Enable query string matching by default
Browse files Browse the repository at this point in the history
  • Loading branch information
joemasilotti committed May 15, 2024
1 parent eca871a commit b8b9614
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/HotwireConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public struct HotwireConfig {

public extension HotwireConfig {
class PathConfiguration {
/// Enable to match the query string when applying rules in addition to the path.
public var matchQueryStrings = false
/// Enable to include the query string (in addition to the path) when applying rules.
/// Disable to only consider the path when applying rules.
public var matchQueryStrings = true
}
}

0 comments on commit b8b9614

Please sign in to comment.