Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change EditorTemplates folder location

About what I read, the EditorTemplates folder must be located under the Shared folder in the Views folder. Is it possible to change this location?

Thank you.

like image 268
Samuel Avatar asked Oct 08 '22 12:10

Samuel


1 Answers

I've always placed my EditorTemplates beneath each view folder they were related too. For example:

Editor Templates

If they were "shared" across multiple views I would place them within the "Shared/EditorTemplates" folder.

like image 151
Jesse Avatar answered Oct 13 '22 11:10

Jesse