ardalis/OrganizingAspNetCore

Controller in one feature returns view from separate feature

Aberta

#6 aberto em 21 de mai. de 2017

 (2 comentários) (0 reação) (0 responsável)C# (58 forks)github user discovery
bughelp wanted

Métricas do repositório

Stars
 (210 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador