Show
Ignore:
Timestamp:
02/26/08 09:51:06 (9 months ago)
Author:
aarkerio
Message:

tuesday 26 update

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/app_controller.php

    r284 r285  
    88class AppController extends Controller { 
    99 
    10  public $components = array('Auth', 'Cookie'); 
     10 public $components = array('Auth', 'Cookie', 'Security'); 
    1111 
    1212 public $helpers = array('Html', 'Form', 'Session'); 
     
    2020     $this->Auth->loginError = 'Invalid e-mail / password combination. Please try again'; 
    2121     $this->Auth->authorize = 'controller';   
    22      $this->Auth->allow( array('view', 'display', 'subscribe', 'recover', 'register', 'insert') ); 
     22     $this->Auth->allow( array('view', 'display', 'subscribe', 'recover', 'register', 'insert', 'vote') ); 
    2323 
    2424     $this->set('cU', $this->Auth->user());  // $cU current user array to use in the views if user logged