Top "Routes" questions

Questions about mapping URLs to Controllers and Actions.

How to unit test production routes in Apache Camel?

Let's say I have my routes created in separate RouteBuilder class. It looks like: grab message from JMS queue do …

junit mocking routes integration apache-camel
How to change routes in ruby on rails?

I just installed Ruby on Rails and created a scaffold called posts. RoR generated controllers and other required files for …

ruby-on-rails routes scaffold
Routing: 'admin' => true vs 'prefix' => 'admin in CakePHP

Hi I'm setting up admin routing in CakePHP. This is my current route: Router::connect('/admin/:controller/:action/*', …

cakephp routing routes cakephp-1.3
Flask (Python): Pass input as parameter to function of different route with fixed URL

How do I get the user input submitted on the form to be displayed on a fixed URL? @app.route(…

python redirect flask routes url-for
How do you route an action to the application controller in Rails 3?

I am using the gem rails3-jquery-autocomplete and had no problems with it, however I have now moved my autocomplete …

ruby-on-rails ruby-on-rails-3 routes applicationcontroller
How can I redirect a user's home (root) path based on their role using Devise?

I'm working on a project management app, and in the app, I have project_managers and clients. I'm using Devise …

ruby-on-rails authentication routes devise cancan
Rails Routes based on condition

I have three roles: Instuctor, Student, Admin and each have controllers with a "home" view. so this works fine, get "…

ruby-on-rails ruby-on-rails-3 routes ruby-on-rails-3.2 rails-routing
migrating from ngRoute/$routeProvider to ui-router/$urlRouterProvider

I want to start using Angular's ui-router instead of ngRoute. Originally, my app config looked like myApp.config(["$routeProvider", function($…

angularjs routes angular-ui-router ngroute
Camel Routes and Endpoints

I've been poring over the Apache Camel docs trying to get a concrete understanding of two of its most basic …

java routes apache-camel endpoint