cakePHP: having model named 'Page' -


I'm going to create a model called 'Book' and 'Page' which are related. How can I avoid the controversial folder between the 'page' and 'page' inside my 'page' and 'folder'?

I should note that inside the cake pages, I get some static pages such as << P>

Code> PagesController to change the name of

> Static Page Controller (and related changes in routes and view folders) Then a new page controller & amp; Page model.

If you use public $ = array (); If you want to remove PagesController . > But because your book pages and static page rendering are not unrelated, this is not the best to do so.


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -