diff options
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 | } | ||