diff options
Diffstat (limited to 'types.go')
| -rw-r--r-- | types.go | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,7 +25,15 @@ type Modifiers struct { } func (m Modifiers) Empty() bool { - return m.DirDefault == "" && !m.DirList && !m.Exec && !m.ExtendedGophermap + return (m.DirDefault == "" && + !m.DirList && + !m.Exec && + !m.ExtendedGophermap && + m.ExecCmd == "" && + !m.AutoAtom && + m.Titan == nil && + m.titanName == "" && + m.Templates == nil) } type RouteDirective struct { |
