Markdown requires a base path (for now)

This commit is contained in:
Matthew Holt 2015-04-25 12:26:04 -06:00
parent 46f5325c15
commit ce74333348

View file

@ -135,7 +135,7 @@ func parse(c middleware.Controller) ([]MarkdownConfig, error) {
}
// Get the path scope
if !c.NextArg() {
if !c.NextArg() || c.Val() == "{" {
return mdconfigs, c.ArgErr()
}
md.PathScope = c.Val()