ardalis/OrganizingAspNetCore
Controller in one feature returns view from separate feature
Offen
#6 geöffnet am 21.05.2017
bughelp wanted
Repository-Metriken
- Stars
- (210 Sterne)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
The current version has two features:
- Ninjas
- Samurai
Each has a SwordsController with an Index.cshtml view inside of a Swords subfolder.
Going to /ninjas/swords hits the SwordsController in /Features/Ninjas and returns the expected View. Going to /samurai/swords hits the SwordsController in /Features/Samurai but returns the view from /Features/Ninjas/Swords/index.cshtml.