Subversion Repositories SmartDukaan

Rev

Rev 14768 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14768 Rev 15222
Line 19... Line 19...
19
 * admin_index method
19
 * admin_index method
20
 *
20
 *
21
 * @return void
21
 * @return void
22
 */
22
 */
23
	public function admin_index() {
23
	public function admin_index() {
-
 
24
		$options = array('order'=>array('id'=>'desc'));
24
		$this->ActivationCode->recursive = 0;
25
		$this->ActivationCode->recursive = 0;
-
 
26
		$this->Paginator->settings = $options;
25
		$this->set('activationCodes', $this->Paginator->paginate());
27
		$this->set('activationCodes', $this->Paginator->paginate());
26
	}
28
	}
27
 
29
 
28
/**
30
/**
29
 * admin_view method
31
 * admin_view method