Skip to content

Commit

Permalink
Add SkipClean() to *Route
Browse files Browse the repository at this point in the history
  • Loading branch information
owenthereal committed May 2, 2016
1 parent 9935257 commit 05d9d90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions route.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ type Route struct {
buildVarsFunc BuildVarsFunc
}

func (r *Route) SkipClean() bool {
return r.skipClean
}

// Match matches the route against the request.
func (r *Route) Match(req *http.Request, match *RouteMatch) bool {
if r.buildOnly || r.err != nil {
Expand Down

0 comments on commit 05d9d90

Please sign in to comment.