url: /contents/view/chapter:models/section:associations
class ContentsController extends AppController {
function view() {
$this->params['named'];
}
}
For example, I have the url and controller above and the goal is to use the key/value information from the url to query a database. How would I create a model to do this?