Created
January 12, 2014 22:39
-
-
Save kimsk/8391634 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Nancy; | |
using Nancy.Conventions; | |
namespace DurandalNancy | |
{ | |
public class DurandalNancyBootstrapper : DefaultNancyBootstrapper | |
{ | |
protected override void ConfigureConventions(NancyConventions nancyConventions) | |
{ | |
base.ConfigureConventions(nancyConventions); | |
nancyConventions.StaticContentsConventions | |
.Add(StaticContentConventionBuilder.AddDirectory("Scripts", "Scripts")); | |
nancyConventions.StaticContentsConventions | |
.Add(StaticContentConventionBuilder.AddDirectory("App", "App")); | |
nancyConventions.StaticContentsConventions | |
.Add(StaticContentConventionBuilder.AddDirectory("Assets", "Assets")); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment