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.

貢獻者指南