guys. In my project I have model and controller for posts. Where in post major field is picutre.
Now, I must have to type of post - where major picture and major video.
How I understand - I must create major model and controler for post with basic mehod and extend from it VideoPost and PicturePost.
It's correct? Or maybe exist other way to realize it?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire