Remove providerTemplates dir, moved in templates

This commit is contained in:
emile 2015-10-22 14:02:14 +02:00
parent 1fdff9dae4
commit 5dea2e7902
11 changed files with 12 additions and 11 deletions

7
web.go
View file

@ -9,6 +9,7 @@ import (
log "github.com/Sirupsen/logrus"
"github.com/elazarl/go-bindata-assetfs"
"github.com/gorilla/mux"
"github.com/unrolled/render"
)
type WebProvider struct {
@ -16,6 +17,12 @@ type WebProvider struct {
CertFile, KeyFile string
}
var (
templatesRenderer = render.New(render.Options{
Directory: "nowhere",
})
)
func (provider *WebProvider) Provide(configurationChan chan<- configMessage) error {
systemRouter := mux.NewRouter()