diff --git a/fn/routes.go b/fn/routes.go index 2c2f45ff..b788412d 100644 --- a/fn/routes.go +++ b/fn/routes.go @@ -297,7 +297,7 @@ func (a *routesCmd) create(c *cli.Context) error { if ff.Timeout != nil { timeout = *ff.Timeout } - if ff.Path != nil { + if route == "" && ff.Path != nil { route = *ff.Path } }