Show
Ignore:
Timestamp:
05/02/08 13:22:37 (8 months ago)
Author:
aarkerio
Message:

New hobbit edublog style

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/controllers/vclassrooms_controller.php

    r444 r445  
    2020 public function beforeFilter() 
    2121 { 
    22       $this->Auth->allow(array('show', 'jointoclass', 'display')); 
     22      $this->Auth->allow(array('show', 'jointoclass', 'display', 'participation')); 
    2323      parent::beforeFilter(); 
    2424 } 
     
    7575           $this->Edublog->setSession($user_id); 
    7676      } 
     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   } 
    7788 } 
    7889