Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moves the guides up to the root directory | Xavier Noria | 2012-03-17 | 1 | -890/+0 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-09 | 1 | -9/+9 |
|\ | |||||
| * | Left off a : when specifying the :namespace option for a :controller | coreyhaines | 2012-03-06 | 1 | -1/+1 |
| | | | | | | | | path segment | ||||
| * | In a nested resource route, the parent resource param is <resource_name>_id | coreyhaines | 2012-03-06 | 1 | -8/+8 |
| | | |||||
* | | document the shortcut to the root route helper [ci skip] | Vijay Dev | 2012-03-05 | 1 | -0/+1 |
|/ | | | | This was implemented in 2ee4dd856d47113625589bc5410b5a6669ea02d5 | ||||
* | minor edits [ci skip] | Vijay Dev | 2012-02-28 | 1 | -2/+2 |
| | |||||
* | document how to create non show paths from an array of parameters | Florent Guilleux | 2012-02-26 | 1 | -0/+6 |
| | |||||
* | reverted regular expression fix | Tima Maslyuchenko | 2012-02-26 | 1 | -2/+2 |
| | |||||
* | fixed regular expression in Specifying Constraints section | Tima Maslyuchenko | 2012-02-26 | 1 | -2/+2 |
| | |||||
* | consistently mention first patch, then put | Xavier Noria | 2012-02-24 | 1 | -8/+8 |
| | | | | | | There was a mix, sometimes patch first, sometimes put first. Use always patch first, since this is going to be the primary verb for updates. | ||||
* | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵ | Xavier Noria | 2012-02-24 | 1 | -12/+2 |
| | | | | the update action of resources | ||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -17/+25 |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | Fixing typo in Routing Guide. | Ryan Sandridge | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | Update routing guides, root route should be at the top of the file | Alexey Vakhov | 2011-10-31 | 1 | -1/+1 |
| | |||||
* | Grammar fixes for the routing guide. | Hendy Tanata | 2011-10-06 | 1 | -1/+1 |
| | |||||
* | Update Rails routing guide to mention that `redirect()` is a 301 permanent ↵ | Prem Sichanugrist | 2011-10-05 | 1 | -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 guides | Vijay Dev | 2011-09-15 | 1 | -9/+0 |
| | |||||
* | Add documentation for :format => true | Erik Michaels-Ober | 2011-07-25 | 1 | -0/+6 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-23 | 1 | -50/+50 |
|\ | |||||
| * | Should be "match" instead of "map" | Vishnu Atrai | 2011-07-15 | 1 | -2/+2 |
| | | |||||
| * | Revert "Fix wildcard route code examples." | Vijay Dev | 2011-07-15 | 1 | -2/+2 |
| | | | | | | | | | | | | This reverts commit 0894d73c7552a4c7d576b7d3692c6a18faadd273. Reason: CHANGELOGs should not be changed in docrails. | ||||
| * | Fix wildcard route code examples. | Hendy Tanata | 2011-07-15 | 1 | -2/+2 |
| | | | | | | | | Should be "match" instead of "map". | ||||
| * | fixed paths, more consistent helpers and paths examples | Hrvoje Šimić | 2011-07-11 | 1 | -48/+48 |
| | | |||||
* | | Better formatting of route requirements in rake:routes. | Hendy Tanata | 2011-07-16 | 1 | -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 Rails | 2011-06-03 | 1 | -1/+1 |
| | |||||
* | Typo; changed 'Febuary' to 'February' | Lee Reilly | 2011-05-25 | 1 | -1/+1 |
| | |||||
* | Edited railties/guides/source/routing.textile via GitHub | Stefan Rohlfing | 2011-04-28 | 1 | -2/+2 |
| | |||||
* | Grammer fix on note about wildcard routes | Ronnie Miller | 2011-04-22 | 1 | -1/+1 |
| | |||||
* | Remove extra whitespaces from guides | Sebastian Martinez | 2011-04-14 | 1 | -2/+2 |
| | |||||
* | Update the wildcard route to be non-greedy by default, therefore be able to ↵ | Prem Sichanugrist | 2011-03-29 | 1 | -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 TIP | tashian | 2011-03-05 | 1 | -1/+1 |
| | |||||
* | Add notes on how to override the default :id constraint [#5994 state:resolved] | Andrew White | 2011-02-14 | 1 | -0/+4 |
| | |||||
* | Remove incorrect assert_recognizes example | Andrew White | 2011-02-14 | 1 | -6/+0 |
| | |||||
* | fix typos | Vijay Dev | 2011-01-02 | 1 | -3/+3 |
| | |||||
* | Routing guide: clarify what the :as option does for scopes | Ryan Bigg | 2010-12-31 | 1 | -2/+2 |
| | |||||
* | Routing guide: move scope documentation down to where it is referenced more ↵ | Ryan Bigg | 2010-12-31 | 1 | -10/+12 |
| | | | | plainly | ||||
* | Routing guide: improve documentation for the scope method, demonstrating use ↵ | Ryan Bigg | 2010-12-31 | 1 | -0/+10 |
| | | | | of named parameters | ||||
* | Routing guide: mention that routes are matched from the top down in a note. | Ryan Bigg | 2010-12-29 | 1 | -0/+3 |
| | |||||
* | Tables style unification | Santiago Pastorino | 2010-12-16 | 1 | -63/+63 |
| | |||||
* | Add named helper to photo controller example | Santiago Pastorino | 2010-12-16 | 1 | -8/+8 |
| | |||||
* | Add underline to header | Santiago Pastorino | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | Add named helper output to translated paths example | Santiago Pastorino | 2010-12-16 | 1 | -8/+8 |
| | |||||
* | for the root route to work, we need to delete the public/index.html.erb | Umar Sheikh | 2010-12-13 | 1 | -1/+1 |
| | | | | file as well | ||||
* | fixed typos and rephrased few sentences in routing | vijay | 2010-12-10 | 1 | -11/+11 |
| | |||||
* | Previous version inaccurately suggested that | Brian Alexander | 2010-11-21 | 1 | -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 Noria | 2010-11-19 | 1 | -2/+0 |
| | | | | archived LH project | ||||
* | Add HTTP Verb Constraints (:via) to routing guide | James Miller | 2010-11-15 | 1 | -0/+20 |
| | |||||
* | Updating routing namespace examples to use symbols and not strings. | Richard Hart | 2010-10-19 | 1 | -2/+2 |
| | |||||
* | Fix error in routing guide edit_photo_path needs the id as param | Santiago Pastorino | 2010-10-09 | 1 | -1/+1 |
| | |||||
* | Fixed routing examples in Routing guide. Updated URL to RoutingAssertions ↵ | Kulbir Saini | 2010-09-25 | 1 | -18/+18 |
| | | | | module. |