I want to use regular expressions inside my routes. I have an Products controller, but I want a different URL structure to access the开发者_运维知识库 products
I have a CRUD controller for a model. Doing resources :foo allows me to route on /foo/:id, etc. for calling actions.
Suppose i have indicated that network is a resource. I am adding a new action, say \"submit_question_for_network\" to the controller.
I\'m trying to write a route that captures the one-to-many relationship between posts and comments in your average blog
In a model callback I make an API call and need to give the API some URLs. Those URLs 开发者_开发百科would be easily generated by a routing helper.
I\'m trying to get the current Route into my navigation controller so I can run comparisons as the navigation menu data is populated.
I am brand new to Ruby on Rails and I have been trying to get a simple default route set up and working. When I try to run my application I get a blank result (if I do a view source, there is nothing
I need to have the following routing logic: http://mydomain.com/myAction/{root}/{child1}/{child2}/... I don\'t know what is the depth of the route
I am upgrading my application to rails 3.My old route was map.profile \'profile/:login\', :controller => \'profile\', :action => \'show\'
I have made a custom Route which override GetRouteData. How can I know what type of request is being done? Everything passes the GetRoutData function (.cs开发者_如何学Pythons, .js, .axd, etc) and I wo