Hi,

I've been trying to get to grips with CRUD after previously doing things mostly manually, but I seem to have fallen at the first hurdle with "crud.tables()".

If I call crud.tables() from a function called tables in MyController and just let the generic template render it, I do get the expected list of tables.

However, I get links to e.g.: -

        /app/default/tables/select/tablename

...as opposed to the expected: -

        /app/MyController/tables/select/tablename

...IOW, I'm seeing "default" in place of the name of my own controller.

It may or may not be relevant, but if I click on those links, I reach the expected URL, but I see only the list of tables - not as expected a list of records in the selected table.

Can anyone clue me in as to what I am doing wrong, please?

I feel as though I'm either missing something fundamental, or I've hit unexpected behaviour...

I'd love to see more examples on the web of CRUD usage - pointers to any good resources with examples would be very welcome.


---

Thanks,

Clam

Reply via email to