diff options
author | jan <jan@ruken.pw> | 2015-12-20 16:32:36 (UTC) |
---|---|---|
committer | jan <jan@ruken.pw> | 2015-12-20 16:32:36 (UTC) |
commit | d55a93e653ff5d8810d539724c3d5a9ad96b8453 (patch) | |
tree | 74c06bffbf0f6bb32919a3bb4e83c7d481fe6fee /frontend | |
parent | 9c96dd6a8bef0d70023d4eaee748916088707765 (diff) |
registration
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/renderer.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/frontend/renderer.go b/frontend/renderer.go index 5673860..f03fe77 100644 --- a/frontend/renderer.go +++ b/frontend/renderer.go | |||
@@ -31,3 +31,8 @@ func (r *Renderer) RenderPage(name string, w http.ResponseWriter, data map[strin | |||
31 | func (r *Renderer) RenderLoginPage(w http.ResponseWriter, data map[string]interface{}) { | 31 | func (r *Renderer) RenderLoginPage(w http.ResponseWriter, data map[string]interface{}) { |
32 | r.RenderPage("login", w, data) | 32 | r.RenderPage("login", w, data) |
33 | } | 33 | } |
34 | |||
35 | // RenderRegistrationPage zeigt die Registrationsseite an. | ||
36 | func (r *Renderer) RenderRegistrationPage(w http.ResponseWriter, data map[string]interface{}) { | ||
37 | r.RenderPage("register", w, data) | ||
38 | } | ||