Changes due to changes in routing take 2
This commit is contained in:
parent
905e84ab0a
commit
9d0cea17dd
|
|
@ -4,7 +4,6 @@ using Microsoft.AspNet.ConfigurationModel;
|
|||
using Microsoft.AspNet.DependencyInjection;
|
||||
using Microsoft.AspNet.Mvc;
|
||||
using Microsoft.AspNet.Routing;
|
||||
using Microsoft.AspNet.Routing.Template;
|
||||
using Microsoft.Net.Runtime;
|
||||
|
||||
namespace MvcSample.Web
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ using Microsoft.AspNet.ConfigurationModel;
|
|||
using Microsoft.AspNet.DependencyInjection;
|
||||
using Microsoft.AspNet.Mvc;
|
||||
using Microsoft.AspNet.Routing;
|
||||
using Microsoft.AspNet.Routing.Template;
|
||||
using Microsoft.Net.Runtime;
|
||||
using Owin;
|
||||
|
||||
|
|
|
|||
|
|
@ -45,10 +45,11 @@ namespace Microsoft.AspNet.Mvc
|
|||
}
|
||||
}
|
||||
|
||||
public void BindPath(BindPathContext context)
|
||||
public string BindPath(BindPathContext context)
|
||||
{
|
||||
// For now just allow any values to target this application.
|
||||
context.IsBound = true;
|
||||
return null;
|
||||
}
|
||||
|
||||
public async Task RouteAsync(RouteContext context)
|
||||
|
|
|
|||
Loading…
Reference in New Issue