diff --git a/Teknik/App_Start/RouteConfig.cs b/Teknik/App_Start/RouteConfig.cs index 8ded70b..138cc59 100644 --- a/Teknik/App_Start/RouteConfig.cs +++ b/Teknik/App_Start/RouteConfig.cs @@ -15,32 +15,7 @@ namespace Teknik public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); - - //routes.MapMvcAttributeRoutes(); - //routes.Add(new SubdomainRoute()); - - //Map subdomains to specific style of routing - // Development Routing - //routes.MapSubdomainRoute( - // "Dev", // Route name - // "dev." + config.Host, // Domain with parameters - // "{controller}/{action}", // URL with parameters - // new { controller = "Dev", action = "Index" } // Parameter defaults - // ); - //// Blog Routing - //routes.MapSubdomainRoute( - // "Blog", // Route name - // "{controller}." + config.Host, // Domain with parameters - // "{username}/{id}", // URL with parameters - // new { controller = "Blog", action = "Index" } // Parameter defaults - // ); - - //routes.MapRoute( - // name: "Default", - // url: "{controller}/{action}", - // defaults: new { controller = "Home", action = "Index" }, - // namespaces: new[] { "Teknik.Controllers" } - //); + routes.IgnoreRoute("{*favicon}", new { favicon = ".*/favicon\\.ico" }); } } } diff --git a/Teknik/Views/Shared/_Layout.cshtml b/Teknik/Views/Shared/_Layout.cshtml index 5a08fac..99b705b 100644 --- a/Teknik/Views/Shared/_Layout.cshtml +++ b/Teknik/Views/Shared/_Layout.cshtml @@ -5,32 +5,6 @@ - @if (Model.Config.PiwikConfig.Enabled) - { - string sub = Request.RequestContext.RouteData.Values["sub"].ToString(); - if (Model.Config.DevEnvironment) - { - sub = "dev - " + sub; - } - - - @**@ - - } @@ -58,12 +32,6 @@