[eluser]ChrisF79[/eluser]
I'm stuck on something seemingly simple. I have created in my controller:
Code:
class Site extends CI_Controller {
function __construct() {
parent::__construct();
}
function index() {
// Load The Model To Pull Categories
$this->load->model('site_model');
$this->load->view('index', $data);
}
function property() {
$this->load->model('property_model');
$data['title'] = 'Test Title';
$this->load->view('property', $data);
}
}
I have my .htaccess getting rid of the index.php part. So, I thought I could go to mysite.com/property/ and it would load the property view but that is giving me a 404. Any ideas as to what I'm doing wrong?