Ok,

So this is completely weird ... anyone ever seen this before, maybe
I'm doing something wrong...

whenever I go to mydomain.com/employees/index/ the layout that I have
selected in the index function of my controller loads, but when I
click a pagination link like mydomain.com/employees/index/page:3 then
the it looks like the layout is loading, but my stylesheets aren't
rendering

its really weird

here is my controller code

class EmployeesController extends AppController
{

        var $name = "employees";
        var $paginate = array(
                'limit' => 25,
                'order' => array('Employee.id' => 'DESC')
                );

        function index()
        {
                $this->layout = 'default';
                $this->pageTitle = "SEOT CORE - Employee Module";
                $dataSet = $this->paginate('Employee');
                $this->set(compact('dataSet'));
        }

        function update($employeeID)
        {
                //$this->layout = 'thickbox';
                $constraints = array('id' => $employeeID);
                $employee =  $this->Employee->findAllById($employeeID);
                $this->set(compact('employee'));
        }

}
?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to