custom-routes
Retaining parent slugs in CakePHP
I\'m experimenting with SEO friendly URL\'s in CakePHP as efficiently as I can, I\'ve managed to use the current format, each example uses function view($slug) except for the first example which uses[详细]
2023-04-09 21:20 分类:问答Rails 3 Routing: Using 2 dynamic segments in path for one model
What I am trying to achieve is something similar to Github\'s way for routes. E.g. I have a project with the name \'question\' results in the URL /hjuskewycz/question. So my goal is to have routes whe[详细]
2023-03-30 12:30 分类:问答Deploying openx into ruby on rails application
I\'m trying to integrate openx into an Ruby on Rails 2 application and I\'m deploying my rails application on 开发者_JS百科the root of my server like \'http://mydomain.com/\' so i put the openx folder[详细]
2023-03-29 14:17 分类:问答rails singular resource still plural?
I have a search route which I would like to make singular but when I specify a singular route it still makes plural controller routes, is this how it\'s supposed to be?[详细]
2023-03-26 07:47 分类:问答codeigniter and routes
yestreday I thought that I had a problem with the ssl in shared ssl but the problem is because of the structure of the url - not because its ssl.[详细]
2023-03-24 11:48 分类:问答Rails routes with multiple identifiers?
I\'m trying to set up routes in Rails 3 that look like: /items/:category/:name/ It\'s pretty easy to do a match to set this up, and then generate the URL with the following:[详细]
2023-03-22 21:56 分类:问答Adding custom route to routes file Rails 2
I want to be able to do the following: change_pass_user_path(usuario) in a \"link_to\" (for example). where \"change_pass\" is the name of my action inside de \"user\" controller.[详细]
2023-03-13 17:22 分类:问答Use POST or GET Request From Static URLs in Template in Rails
Please bear with me, as I\'m new to programming in Rails and in general.I have a very limited understanding of how the models, views, controllers function but I\'ve been learning as fast as I can.[详细]
2023-03-11 05:37 分类:问答polymorphic_path for custom collection route
I have the following route definition: resources :documents do collection do post :filter end end and the following model structure:[详细]
2023-03-09 01:10 分类:问答Rails 3 routing with resources under an optional scope
I have setup my versioned API like this with only a small tweak for backwards compatibility. In my routes I have:[详细]
2023-03-03 06:49 分类:问答