Bug: Prioritize area views over regular views #60
Labels
Area: Web
Relates to the `AspNetCore` or other web-related functionality.
Priority: 1
Severity 1: Minor
Status 5: Complete
Task is considered complete, and ready for deployment.
Type: Bug
Behavior that is inconsistent with documented or expected behavior.
Milestone
The
TopicViewLocationExpander
defines a number of custom conventions for loading views based on theTopic.ContentType
as well as an optionalView
(which can be defined in a variety of locations). Currently, if the view exists in both/Areas/{Area}/Views
and/Views
, however, the latter takes precedence. This is unintuitive and unexpected; we'd expect the view closest to the current controller to take precedence.The text was updated successfully, but these errors were encountered: