Subversion Repositories SmartDukaan

Rev

Rev 13591 | Rev 13597 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13591 Rev 13596
Line 15... Line 15...
15
 */
15
 */
16
	public $components = array('Paginator');
16
	public $components = array('Paginator');
17
 
17
 
18
	public function beforeFilter() {
18
	public function beforeFilter() {
19
		parent::beforeFilter();
19
		parent::beforeFilter();
20
		$this->Auth->allow('bycategory','category');
20
		$this->Auth->allow('bycategory','category','mine');
21
		$callback = $this->request->query('callback');
21
		$callback = $this->request->query('callback');
22
	}
22
	}
23
 
23
 
24
	public function mine() {
24
	public function mine() {
25
		$userId = $this->request->query('user_id');
25
		$userId = $this->request->query('user_id');