| Index: milo/appengine/console/html.go
|
| diff --git a/milo/appengine/console/html.go b/milo/appengine/console/html.go
|
| index c482642d4d06e80b9ab394a23dae040f1a797b29..b293948bd3e13c3ec09eafe39a03231a5d6b1492 100644
|
| --- a/milo/appengine/console/html.go
|
| +++ b/milo/appengine/console/html.go
|
| @@ -10,20 +10,12 @@ import (
|
| "github.com/julienschmidt/httprouter"
|
| "golang.org/x/net/context"
|
|
|
| - "github.com/luci/luci-go/milo/appengine/settings"
|
| "github.com/luci/luci-go/milo/common/miloerror"
|
| "github.com/luci/luci-go/server/templates"
|
| )
|
|
|
| -type Console struct{}
|
| -
|
| -// GetTemplateName returns the template name for console pages.
|
| -func (x Console) GetTemplateName(t settings.Theme) string {
|
| - return "console.html"
|
| -}
|
| -
|
| -// Render renders the console page.
|
| -func (x Console) Render(c context.Context, r *http.Request, p httprouter.Params) (*templates.Args, error) {
|
| +// ConsoleHandler renders the console page.
|
| +func ConsoleHandler(c context.Context, r *http.Request, p httprouter.Params) (*templates.Args, error) {
|
| project := p.ByName("project")
|
| if project == "" {
|
| return nil, &miloerror.Error{
|
|
|