Hello fellows can someone help me into this:
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/part-two.html
I'm confused on how naming convention on Models in cakephp.
I've noticed that in the blog tutorial the model is named "Post" which is singular
class Post extends AppModel {
}
while in the controller the "Post" is "Posts" which is plural:
class PostsController extends AppController {
public $helpers = array('Html', 'Form');
}
Can someone explain this to me, thanks.