mardi 2 juin 2015

Multiple Views Same Model

I have a Course Model which goes the controller and views in a restful way.

For my Course show, it is fully featured. I now want another Course show which will have a simplify page and it like to the original course show.

How can I implement this? I want it to be restful, so in my controller there should only be show, update, index, etc.

Should I create another controller that have an different name from the Model? E.g. Course2?

Aucun commentaire:

Enregistrer un commentaire