Subversion Repositories SmartDukaan

Rev

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

Rev 15403 Rev 15408
Line 17... Line 17...
17
	public $apihost;
17
	public $apihost;
18
	public $limit;
18
	public $limit;
19
 
19
 
20
	public function beforeFilter() {
20
	public function beforeFilter() {
21
		parent::beforeFilter();
21
		parent::beforeFilter();
22
		$this->Auth->allow('deals');
22
		$this->Auth->allow('deals','getdeals');
23
		$this->apihost = Configure::read('pythonapihost');
23
		$this->apihost = Configure::read('pythonapihost');
24
		$this->limit = Configure::read('dealsperpage');
24
		$this->limit = Configure::read('dealsperpage');
25
	}
25
	}
26
 
26
 
27
/**
27
/**