jimjim
jimjim

Reputation: 2503

The term for the folder that View is in?

Actions reside in controllers, That makes it easy to say Action X in Controller Y.

Views have a similarity to action, the name of the folder that they are in must match the name of controller, Do we say View X for Controller Folder Y ? or is there another term used for the folder that contains all the view for a Controller?

Upvotes: 0

Views: 37

Answers (1)

trailmax
trailmax

Reputation: 35106

Is that important how you call the folder?

There is no special name for that folder. And really, folder with views for the controller is a vague term - some views can have partial views that sit in Shared folder. And you can also implement your own ViewEngine with your own convention. Or even supply view files from a database.

So to answer your question - there is no special term.

Upvotes: 1

Related Questions