<?php

defined('BASEPATH') OR exit('No direct script access allowed');

class First extends Application
{

	function __construct()
	{
		parent::__construct();
	}

	/**
	 * The default page for the current first quote.
	 */
	public function index()
	{
		// build the list of author we want to pass on to our view
		$firstAuthor = $this->quotes->get(1);
		$this->data['who'] = $firstAuthor['who'];
		$this->data['mug'] = $firstAuthor['mug'];
		$this->data['what'] = $firstAuthor['what'];

		// this is the view we want shown
		$this->data['pagebody'] = 'justone';
		$this->render();
	}

}

Add the First.php controller and add index() method.
Add the First.php controller and add index() method.

Signed-off-by: Wilson Lau <51ca10b964eb3f90521acbc5ab4d054ef62a94b4@gmail.com>
