Skip to content
Browse files

Fixups

  • Loading branch information...
1 parent 914795d commit 8b7956b13fa676a513722332ff74cd3823ef7f42 @grumpydev grumpydev committed Nov 2, 2011
Showing with 4 additions and 4 deletions.
  1. +3 −3 src/Nancy.SassAndCoffee.Demo/Bootstrapper.cs
  2. +1 −1 src/Nancy.SassAndCoffee/Hooks.cs
View
6 src/Nancy.SassAndCoffee.Demo/Bootstrapper.cs
@@ -4,13 +4,13 @@ namespace Nancy.SassAndCoffee.Demo
public class Bootstrapper : DefaultNancyBootstrapper
{
- protected override void InitialiseInternal(TinyIoC.TinyIoCContainer container)
+ protected override void ApplicationStartup(TinyIoC.TinyIoCContainer container, Nancy.Bootstrapper.IPipelines pipelines)
{
- base.InitialiseInternal(container);
+ base.ApplicationStartup(container, pipelines);
StaticConfiguration.DisableErrorTraces = false;
- SassAndCoffee.Hooks.Enable(this, new InMemoryCache(), container.Resolve<IRootPathProvider>());
+ SassAndCoffee.Hooks.Enable(pipelines, new InMemoryCache(), container.Resolve<IRootPathProvider>());
}
}
}
View
2 src/Nancy.SassAndCoffee/Hooks.cs
@@ -22,7 +22,7 @@ public static class Hooks
/// <param name="pipelines">Application pipelines to hook into</param>
/// <param name="cache">Cache provider to use</param>
/// <param name="rootPathProvider">Root path provider</param>
- public static void Enable(IApplicationPipelines pipelines, ICompiledCache cache, IRootPathProvider rootPathProvider)
+ public static void Enable(IPipelines pipelines, ICompiledCache cache, IRootPathProvider rootPathProvider)
{
var host = new NancyCompilerHost(rootPathProvider);

0 comments on commit 8b7956b

Please sign in to comment.
Something went wrong with that request. Please try again.