ardalis/OrganizingAspNetCore
Controller in one feature returns view from separate feature
オープン
#6 opened on 2017/05/21
bughelp wanted
Repository metrics
- Stars
- (210 個のスター)
- PR merge metrics
- (30d に merged PR はありません)
説明
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.