title: The route template separator character '/' cannot appear consecutively - Attribute routing issue
body: <h3>The configuration has nothing to do with the error</h3>
  
  <p>This is my configuration for the Web API in App_Start/WebApiConfig.cs:</p>
  
  <pre><code>public static void Register(HttpConfiguration config)
      {
          // Web API routes
          config.MapHttpAttributeRoutes();
  
          config.Routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{id}",
              defaults: new { id = RouteParameter.Optional }
          );.....
  </code></pre>
  
  <p>And this is my global.asax class:</p>
  
  <pre><code>GlobalConfiguration.Configure(WebApiConfig.Register);
  </code></pre>
  
  <h3>This is the error</h3>
  
  <p>But whenever the application is starting, I get this exception:</p>
  
  <blockquote>
    <p>The route template separator character '/' cannot appear consecutively. It must be separated by either a parameter or a literal value</p>
  </blockquote>
  
  <p>StackTrace: </p>
  
  <pre><code>at System.Web.Http.Routing.RouteParser.Parse(String routeTemplate)
  at System.Web.Http.Routing.DirectRouteFactoryContext.CreateBuilder(String template, IInlineConstraintResolver constraintResolver)
  at System.Web.Http.Routing.DirectRouteFactoryContext.CreateBuilderInternal(String template)
  at System.Web.Http.Routing.DirectRouteFactoryContext.CreateBuilder(String template)
  at System.Web.Http.RouteAttribute.System.Web.Http.Routing.IDirectRouteFactory.CreateRoute(DirectRouteFactoryContext context)
  at System.Web.Http.Routing.AttributeRoutingMapper.CreateRouteEntry(String prefix, IDirectRouteFactory factory, IReadOnlyCollection`1 actions, IInlineConstraintResolver constraintResolver, Boolean targetIsAction)
  at System.Web.Http.Routing.AttributeRoutingMapper.AddRouteEntries(SubRouteCollection collector, String prefix, IReadOnlyCollection`1 factories, IReadOnlyCollection`1 actions, IInlineConstraintResolver constraintResolver, Boolean targetIsAction)
  at System.Web.Http.Routing.AttributeRoutingMapper.AddRouteEntries(SubRouteCollection collector, HttpControllerDescriptor controller, IInlineConstraintResolver constraintResolver)
  at System.Web.Http.Routing.AttributeRoutingMapper.AddRouteEntries(SubRouteCollection collector, HttpConfiguration configuration, IInlineConstraintResolver constraintResolver)
  at System.Web.Http.Routing.AttributeRoutingMapper.&lt;&gt;c__DisplayClass2.&lt;&gt;c__DisplayClass4.&lt;MapAttributeRoutes&gt;b__1()
  at System.Web.Http.Routing.RouteCollectionRoute.EnsureInitialized(Func`1 initializer)
  at System.Web.Http.Routing.AttributeRoutingMapper.&lt;&gt;c__DisplayClass2.&lt;MapAttributeRoutes&gt;b__0(HttpConfiguration config)
  at System.Web.Http.HttpConfiguration.EnsureInitialized()
  at System.Web.Http.GlobalConfiguration.Configure(Action`1 configurationCallback)
  at Sample.Rest.WebHost.WebApiApplication.Application_Start() in d:\sample\Sample.Rest.WebHost\Global.asax.cs:line 33
  </code></pre>
  
  <h3>The error is caused by the Route attribute</h3>
  
  <p>This is how I am using attribute routing on my controller:</p>
  
  <pre><code>[RoutePrefix("v1")]
  public class MarketController : ApiController
  {
      [HttpGet]
      [Route("/marketdata/tickerinfo")]
      public IHttpActionResult TickerInfo(string currencyPair)
      {
  </code></pre>