Skip to content

Commit

Permalink
Merge pull request #19 from hotwired/enable-query-string-matching
Browse files Browse the repository at this point in the history
Enable query string matching by default
  • Loading branch information
joemasilotti authored May 15, 2024
2 parents eca871a + b8b9614 commit 6ba212d
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 6ba212d

Please sign in to comment.