Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
efectn committed Oct 21, 2023
1 parent 1dc9a5e commit f09fc5b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -624,9 +624,7 @@ func (app *App) Name(name string) Router {
(app.latestRoute.Method == MethodGet && route.Method == MethodHead)

if route.Path == app.latestRoute.Path && isMethodValid {

route.Name = name

if route.group != nil {
route.Name = route.group.name + route.Name
}
Expand Down

0 comments on commit f09fc5b

Please sign in to comment.