ardalis/OrganizingAspNetCore

Controller in one feature returns view from separate feature

开放

#6 创建于 2017年5月21日

 (2 条评论) (0 个反应) (0 位负责人)C# (58 个派生)github user discovery
bughelp wanted

仓库指标

星标
 (210 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南