Changeset 757 for trunk/app/controllers
- Timestamp:
- 09/04/08 21:28:48 (3 months ago)
- Location:
- trunk/app/controllers
- Files:
-
- 4 modified
-
colleges_controller.php (modified) (2 diffs)
-
faqs_controller.php (modified) (2 diffs)
-
podcasts_controller.php (modified) (2 diffs)
-
subjects_controller.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/controllers/colleges_controller.php
r584 r757 21 21 { 22 22 parent::beforeFilter(); 23 $this->Auth->allow(array('view', 'terms' ));23 $this->Auth->allow(array('view', 'terms', 'goya')); 24 24 } 25 25 … … 40 40 $this->layout = 'popup'; 41 41 } 42 43 public function goya() 44 { 45 $this->title = 'Eastern::egg Pumas'; 46 47 return true; 48 } 49 42 50 /*** ======ADMIN METHODS === *****/ 43 51 public function admin_listing() -
trunk/app/controllers/faqs_controller.php
r643 r757 22 22 { 23 23 parent::beforeFilter(); 24 $this->Auth->allow(array('tetris')); 24 25 } 25 26 … … 34 35 $this->set('data', $data); 35 36 } 36 37 38 public function tetris() 39 { 40 return true; 41 } 37 42 /** 38 43 ==== ADMIN METHODS -
trunk/app/controllers/podcasts_controller.php
r696 r757 19 19 { 20 20 parent::beforeFilter(); 21 $this->Auth->allow(array('display', 'rss', 'show', 'recent')); 22 21 $this->Auth->allow(array('display', 'rss', 'show', 'recent', 'funny')); 23 22 } 24 23 … … 107 106 $this->set('data', $this->Podcast->find($conditions, $fields)); 108 107 } 108 public function funny() 109 { //eastern egg 110 return true; 111 } 109 112 110 113 /****** ====ADMIN METHODS==== ***/ -
trunk/app/controllers/subjects_controller.php
r695 r757 17 17 { 18 18 parent::beforeFilter(); 19 $this->Auth->allow(array('display', 'view','show' ));19 $this->Auth->allow(array('display', 'view','show', 'panda')); 20 20 } 21 21 … … 48 48 $this->set('data', $this->Subject->getSubject($code)); 49 49 } 50 51 public function panda() 52 { 53 $this->title = 'Eastern::egg Panda'; 54 55 return true; 56 } 57 50 58 51 59 /** ==== ADMIN METHODS ==== */
