I am a codeIgniter developer and I just started using Sapphire framework and I cant help myself stop drawing parallels between the two but i fail miserably.
I created a job.php file inside mysite/code and wrote the below code inside the same:
------------------
<?php
class Job extends DataObject {
}
class Job_Controller extends Controller {
function order()
{
echo "hi";
}
}
?>
-----------------
And when i write --> localhost/silverstripe/job it says "Page not found"
Please help me here !!!