Browse Source

Expose path used to get to console to console.

Change-Id: I72386a2d4e53863da302ecc5c7e44d6c310197e0
changes/44/344/1
Brian Brazil 10 years ago
parent
commit
de71467758
  1. 2
      web/consoles.go

2
web/consoles.go

@ -61,9 +61,11 @@ func (h *ConsolesHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
data := struct {
RawParams url.Values
Params map[string]string
Path string
}{
RawParams: rawParams,
Params: params,
Path: r.URL.Path,
}
template := templates.NewTemplateExpander(string(text), "__console_"+r.URL.Path, data, clientmodel.Now(), h.Storage)

Loading…
Cancel
Save