[eluser]dhall[/eluser]
Okay so I decided to start from scratch with a clean CI template.
This loaded just fine.
I then created my own Controller and View with a link in the view to take me to a different Controller.
Every time I click on the link it gives me the "Object not found!" message.
My home page View (this loads just fine):
Code:
<h1>hello worlds?!</h1>
<?php
echo anchor('workout','Workouts');
?>
My Controller I am trying to get to through the link (this gives me the error):
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Workout extends CI_Controller {
public function index()
{
$this->load->view('workout/new');
}
}
Sorry for this extremely basic question... I am completely stuck!