Changeset 445 for trunk/app/controllers/vclassrooms_controller.php
- Timestamp:
- 05/02/08 13:22:37 (8 months ago)
- Files:
-
- 1 modified
-
trunk/app/controllers/vclassrooms_controller.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/controllers/vclassrooms_controller.php
r444 r445 20 20 public function beforeFilter() 21 21 { 22 $this->Auth->allow(array('show', 'jointoclass', 'display' ));22 $this->Auth->allow(array('show', 'jointoclass', 'display', 'participation')); 23 23 parent::beforeFilter(); 24 24 } … … 75 75 $this->Edublog->setSession($user_id); 76 76 } 77 } 78 79 public function participation() 80 { 81 $this->layout = 'ajax'; 82 83 if ( !empty($this->data['Participation'])) 84 { 85 $this->set('vclassroom_id', $this->data['Participation']['vclassroom_id']); 86 $this->render('participation', 'ajax'); 87 } 77 88 } 78 89
