diff --git a/RaceLapTimer/RaceLapTimer/AuthenticationBootstrapper.cs b/RaceLapTimer/RaceLapTimer/AuthenticationBootstrapper.cs index bb0a7bf..d593241 100644 --- a/RaceLapTimer/RaceLapTimer/AuthenticationBootstrapper.cs +++ b/RaceLapTimer/RaceLapTimer/AuthenticationBootstrapper.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using System.IO; +using System.IO; using Interfaces; using Nancy; using Nancy.Authentication.Forms; @@ -7,7 +6,6 @@ using Nancy.Bootstrapper; using Nancy.Bootstrappers.Ninject; using Nancy.Conventions; using Nancy.Diagnostics; -using Nancy.ViewEngines.Razor; using Ninject; using RaceLapTimer.Extensions; using RaceLapTimer.Extensions.FileExport; @@ -115,21 +113,4 @@ namespace RaceLapTimer ); } } - public class RazorConfig : IRazorConfiguration - { - public IEnumerable GetAssemblyNames() - { - yield return "Interfaces"; - } - - public IEnumerable GetDefaultNamespaces() - { - yield return "Interfaces"; - } - - public bool AutoIncludeModelNamespace - { - get { return true; } - } - } } diff --git a/RaceLapTimer/RaceLapTimer/RaceLapTimer.csproj b/RaceLapTimer/RaceLapTimer/RaceLapTimer.csproj index 946a220..7421c84 100644 --- a/RaceLapTimer/RaceLapTimer/RaceLapTimer.csproj +++ b/RaceLapTimer/RaceLapTimer/RaceLapTimer.csproj @@ -126,6 +126,7 @@ + diff --git a/RaceLapTimer/RaceLapTimer/RazorConfig.cs b/RaceLapTimer/RaceLapTimer/RazorConfig.cs new file mode 100644 index 0000000..9677840 --- /dev/null +++ b/RaceLapTimer/RaceLapTimer/RazorConfig.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; +using Nancy.ViewEngines.Razor; + +namespace RaceLapTimer +{ + public class RazorConfig : IRazorConfiguration + { + public IEnumerable GetAssemblyNames() + { + yield return "Interfaces"; + } + + public IEnumerable GetDefaultNamespaces() + { + yield return "Interfaces"; + } + + public bool AutoIncludeModelNamespace + { + get { return true; } + } + } +} \ No newline at end of file