LogixMaster
LogixMaster

Reputation: 586

CakePHP - How to go about setting up a page without main controller

I am a little bit in a pickle with this. I have a page which doesn't have Main Controller or model.. but it will interact with multiple models/controllers in order to get data from different tables.

How should I go about this ? If anyone can help, I greatly appreciate any piece of advice. Thanks a heaps.

Upvotes: 0

Views: 38

Answers (1)

cornelb
cornelb

Reputation: 6066

The 'page' can be a method in an existing controller.

You will need a view for it.

You can create a route for it (so you can call it using /mypage instead of /my-existing-controller/mypage.

Upvotes: 1

Related Questions