summaryrefslogtreecommitdiffstats
path: root/api/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/api.go')
-rw-r--r--api/api.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/api.go b/api/api.go
index a6bb22982..3b35a08fa 100644
--- a/api/api.go
+++ b/api/api.go
@@ -10,6 +10,9 @@ import (
"github.com/mattermost/platform/utils"
"html/template"
"net/http"
+
+ _ "github.com/cloudfoundry/jibber_jabber"
+ _ "github.com/nicksnyder/go-i18n/i18n"
)
var ServerTemplates *template.Template
@@ -46,6 +49,7 @@ func InitApi() {
InitOAuth(r)
InitWebhook(r)
InitPreference(r)
+ InitLicense(r)
templatesDir := utils.FindDir("api/templates")
l4g.Debug("Parsing server templates at %v", templatesDir)