aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/routing.textile
Commit message (Collapse)AuthorAgeFilesLines
* In a nested resource route, the parent resource param is <resource_name>_idVijay Dev2012-03-091-8/+8
| | | | | This fix was made by @coreyhaines on docrails and merged in master. Cleanly cherry picking into 3-2-stable wasn't possible.
* Left off a : when specifying the :namespace option for a :controllercoreyhaines2012-03-091-1/+1
| | | | path segment
* Fixing typo in Routing Guide.Ryan Sandridge2011-12-101-1/+1
|
* Update routing guides, root route should be at the top of the fileAlexey Vakhov2011-10-311-1/+1
|
* Grammar fixes for the routing guide.Hendy Tanata2011-10-061-1/+1
|
* Update Rails routing guide to mention that `redirect()` is a 301 permanent ↵Prem Sichanugrist2011-10-051-0/+2
| | | | | | redirect I had to try out myself to realize that it's 301, so this should be helpful to everyone.
* No more changelogs inside guidesVijay Dev2011-09-151-9/+0
|
* Add documentation for :format => trueErik Michaels-Ober2011-07-251-0/+6
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-231-50/+50
|\
| * Should be "match" instead of "map"Vishnu Atrai2011-07-151-2/+2
| |
| * Revert "Fix wildcard route code examples."Vijay Dev2011-07-151-2/+2
| | | | | | | | | | | | This reverts commit 0894d73c7552a4c7d576b7d3692c6a18faadd273. Reason: CHANGELOGs should not be changed in docrails.
| * Fix wildcard route code examples.Hendy Tanata2011-07-151-2/+2
| | | | | | | | Should be "match" instead of "map".
| * fixed paths, more consistent helpers and paths examplesHrvoje Šimić2011-07-111-48/+48
| |
* | Better formatting of route requirements in rake:routes.Hendy Tanata2011-07-161-4/+4
|/ | | | | | | | | | Previously it was: {:controller=>"photos", :action=>"show", :id=>/[A-Z]\d{5}/} Now it becomes: photos#show {:id=>/[A-Z]\d{5}/}
* FIXED: error with url_for & link_to when we have nested resources.Linux on Rails2011-06-031-1/+1
|
* Typo; changed 'Febuary' to 'February'Lee Reilly2011-05-251-1/+1
|
* Edited railties/guides/source/routing.textile via GitHubStefan Rohlfing2011-04-281-2/+2
|
* Grammer fix on note about wildcard routesRonnie Miller2011-04-221-1/+1
|
* Remove extra whitespaces from guidesSebastian Martinez2011-04-141-2/+2
|
* Update the wildcard route to be non-greedy by default, therefore be able to ↵Prem Sichanugrist2011-03-291-0/+12
| | | | | | | | match the (.:format) segment [#6605 state:resolved] After some discussion with Andrew White, it seems like this is a better approach for handling a wildcard route. However, user can still bring back the old behavior by supplying `:format => false` to the route. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
* Properly escaped a + in the dynamic segments TIPtashian2011-03-051-1/+1
|
* Add notes on how to override the default :id constraint [#5994 state:resolved]Andrew White2011-02-141-0/+4
|
* Remove incorrect assert_recognizes exampleAndrew White2011-02-141-6/+0
|
* fix typosVijay Dev2011-01-021-3/+3
|
* Routing guide: clarify what the :as option does for scopesRyan Bigg2010-12-311-2/+2
|
* Routing guide: move scope documentation down to where it is referenced more ↵Ryan Bigg2010-12-311-10/+12
| | | | plainly
* Routing guide: improve documentation for the scope method, demonstrating use ↵Ryan Bigg2010-12-311-0/+10
| | | | of named parameters
* Routing guide: mention that routes are matched from the top down in a note.Ryan Bigg2010-12-291-0/+3
|
* Tables style unificationSantiago Pastorino2010-12-161-63/+63
|
* Add named helper to photo controller exampleSantiago Pastorino2010-12-161-8/+8
|
* Add underline to headerSantiago Pastorino2010-12-161-1/+1
|
* Add named helper output to translated paths exampleSantiago Pastorino2010-12-161-8/+8
|
* for the root route to work, we need to delete the public/index.html.erbUmar Sheikh2010-12-131-1/+1
| | | | file as well
* fixed typos and rephrased few sentences in routingvijay2010-12-101-11/+11
|
* Previous version inaccurately suggested thatBrian Alexander2010-11-211-1/+1
| | | | | | resources :posts, :path => "/admin" would route "/admin/posts" to the PostsController but it actually routed "/admin" to the PostsController
* guides: gives clear instructions for feedback, removes links to the now ↵Xavier Noria2010-11-191-2/+0
| | | | archived LH project
* Add HTTP Verb Constraints (:via) to routing guideJames Miller2010-11-151-0/+20
|
* Updating routing namespace examples to use symbols and not strings.Richard Hart2010-10-191-2/+2
|
* Fix error in routing guide edit_photo_path needs the id as paramSantiago Pastorino2010-10-091-1/+1
|
* Fixed routing examples in Routing guide. Updated URL to RoutingAssertions ↵Kulbir Saini2010-09-251-18/+18
| | | | module.
* Fixed typo (CategoriesControlleR -> CategoriesControlleR).Pedro Fayolle2010-09-231-1/+1
|
* some fixes in routing guideeparreno2010-09-221-5/+5
|
* fixed an unclear description in Sigular Resources.Jamison Dance2010-09-141-1/+1
|
* the (public) routing DSL does not accept symbols for get|post|put|delete|matchXavier Noria2010-08-171-4/+4
|
* routing guide: wildcard segments are quite flexible, go beyond the simple ↵Xavier Noria2010-08-161-0/+16
| | | | use case
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-2/+2
| | | | 's/[ \t]*$//' -i {} \;)
* routing guide: documents the CONTROLLER environment variable understood by ↵Xavier Noria2010-08-081-0/+6
| | | | the routes task
* Changed code style that was incorrectly rendering block style instead of inline.Bobby Wilson2010-07-211-1/+1
|
* routing guide: say "path" when you mean pathXavier Noria2010-07-221-36/+36
|
* routing guide: a "photo" resource has by convention paths under "photos", in ↵Xavier Noria2010-07-221-6/+6
| | | | plural