Top "Routes" questions

Questions about mapping URLs to Controllers and Actions.

Not found page in Lumen after install

I just installed Lumen but when I head to its public directory localhost/lumen/public, Sorry, the page you are …

php laravel routes lumen
How do I write a Rails 3.1 engine controller test in rspec?

I have written a Rails 3.1 engine with the namespace Posts. Hence, my controllers are found in app/controllers/posts/, my …

ruby-on-rails-3 rspec ruby-on-rails-3.1 routes
How to use `pre` in route handler - hapi.js

I have to call a method using pre in a route. I am using hapi-request. I tried to use pre …

node.js routes hapijs
Optionally override request culture via url/route in an ASP.NET Core 1.0 Application

I am trying to override the culture of the current request. I got it working partly using a custom ActionFilterAttribute. …

routes asp.net-core asp.net-core-mvc asp.net-core-1.0
An API version is required, but was not specified. webapi

var constraintResolver = new DefaultInlineConstraintResolver() { ConstraintMap = { ["apiVersion"] = typeof( ApiVersionRouteConstraint ) } }; config.MapHttpAttributeRoutes(constraintResolver); config.AddApiVersioning(o => o.AssumeDefaultVersionWhenUnspecified = true); [ApiVersion("2.05")] [RoutePrefix("…

asp.net-web-api routes asp.net-web-api-routing api-versioning
ASP.NET MVC 5 Attribute Routing: Url.Action returns null

I am experiencing an issue with a refactoring of our payment processing action method (called by our 3rd-party online payment …

asp.net routes asp.net-mvc-5 url-routing attributerouting
Compojure routes with different middleware

I'm currently writing an API in Clojure using Compojure (and Ring and associated middleware). I'm trying to apply different authentication …

clojure routes middleware compojure ring
How in Camel to add and start routes dynamically?

I'm trying to remove some boilerplate from routes in Camel. For example, let's consider the two routes, which are similar …

java templates routes apache-camel boilerplate
Camel Throwing MethodNotFound for method that exists and is public

I'm testing a camel round but when I have the route try to access a particular method in a bean …

java apache-camel routes exists methodnotfound
Angular Route Infinite Loop

For some reason when I have a dynamic property in my route and access that page I get stuck in …

angularjs infinite-loop routes