andrewdavey/postal — pull request #88 by zabeda (2014-09-23 15:11:57+00:00)
Title: Support views stored in Areas

We are using Areas for a project and wanted to be able to have the Emails folder stored in the Area instead of off the root.

This change lets you add the name of an Area to the Email object using either a new constructor or by using an AreaName property. If populated, the EmailViewRender puts the AreaName in the DataTokens of the RouteData object. Once there, the folder ~/[AreaName]Views/Emails/ is included in the search for the view named in the Email object.