Changeset 2904 for trunk/app


Ignore:
Timestamp:
01/11/12 20:34:40 (4 months ago)
Author:
aarkerio
Message:

Uppdate comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/app/Controller/CommentsController.php

    r2830 r2904  
    4343 { 
    4444    parent::beforeFilter(); 
    45     $this->Auth->allow(array('view', 'add', 'securimage')); 
    46  } 
    47  
    48 /** 
    49  * Generate captcha 
    50  * @access public 
    51  */ 
    52  public function captcha() 
    53  { 
    54    $rand = rand(1, 10000); 
    55    return $this->captcha->show($rand); 
     45    $this->Auth->allow(array('add', 'securimage')); 
    5646 } 
    5747 
Note: See TracChangeset for help on using the changeset viewer.