1
0
Fork 0

Add functionality for displaying the last added screen.

This commit is contained in:
Andrew Tomaka 2011-11-06 01:05:36 -04:00
parent e12e876805
commit d8d4279c69

View file

@ -52,4 +52,11 @@ class View extends CI_Controller {
redirect('/view/specific/' . $id);
}
public function latest() {
$this->load->model('fileupload');
$total_uploads = $this->fileupload->count_uploads();
redirect('/view/specific/' . $total_uploads);
}
}