ardalis/OrganizingAspNetCore

Controller in one feature returns view from separate feature

Ouverte

#6 ouverte le 21 mai 2017

 (2 commentaires) (0 réaction) (0 personne assignée)C# (58 forks)github user discovery
bughelp wanted

Métriques du dépôt

Stars
 (210 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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.

Guide contributeur