diff --git a/controllers/IntroductionController.inc b/controllers/IntroductionController.inc index 5fead9cf..4607afb5 100644 --- a/controllers/IntroductionController.inc +++ b/controllers/IntroductionController.inc @@ -28,6 +28,8 @@ */ public function index() { + // Pass data to view + $this->set('userId', $this->Auth->getUserId()); } } diff --git a/views/html/introduction/index.tpl b/views/html/introduction/index.tpl index 007895e4..ef919187 100644 --- a/views/html/introduction/index.tpl +++ b/views/html/introduction/index.tpl @@ -1,6 +1,7 @@

Ein Projekt zum Thema „Gamification im Lehrumfeld“ – basierend auf Die Legende von Zyren.

+

@@ -12,6 +13,7 @@ +

Entwickler