Commit Graph

66 Commits

Author SHA1 Message Date
tashian
e95b965926 Properly escaped a + in the dynamic segments TIP 2011-03-05 11:56:33 +01:00
Andrew White
fd7605826a Add notes on how to override the default :id constraint [#5994 state:resolved] 2011-02-14 01:01:20 +00:00
Andrew White
48fe62ee57 Remove incorrect assert_recognizes example 2011-02-14 00:09:05 +00:00
Vijay Dev
ebb732a7ec fix typos 2011-01-02 02:53:15 +05:30
Ryan Bigg
224e2d478a Routing guide: clarify what the :as option does for scopes 2010-12-31 17:50:37 +10:00
Ryan Bigg
9aef64f7a3 Routing guide: move scope documentation down to where it is referenced more plainly 2010-12-31 17:45:03 +10:00
Ryan Bigg
eaf67ca9c3 Routing guide: improve documentation for the scope method, demonstrating use of named parameters 2010-12-31 17:38:38 +10:00
Ryan Bigg
60447d8b00 Routing guide: mention that routes are matched from the top down in a note. 2010-12-29 10:57:59 +10:00
Santiago Pastorino
692b621d2a Tables style unification 2010-12-16 01:49:28 +05:30
Santiago Pastorino
4c5805dfab Add named helper to photo controller example 2010-12-16 01:49:28 +05:30
Santiago Pastorino
6f8cc0776b Add underline to header 2010-12-16 01:49:28 +05:30
Santiago Pastorino
edf5b57451 Add named helper output to translated paths example 2010-12-16 01:49:28 +05:30
Umar Sheikh
0b5671ccca for the root route to work, we need to delete the public/index.html.erb
file as well
2010-12-13 11:18:49 +05:00
vijay
61817d2630 fixed typos and rephrased few sentences in routing 2010-12-10 23:34:48 +05:30
Brian Alexander
51007f1dba Previous version inaccurately suggested that
resources :posts, :path => "/admin"

would route "/admin/posts" to the PostsController but it actually routed "/admin" to the PostsController
2010-11-21 19:54:05 -08:00
Xavier Noria
902ae14e65 guides: gives clear instructions for feedback, removes links to the now archived LH project 2010-11-19 21:46:12 +01:00
James Miller
c2c2b8b962 Add HTTP Verb Constraints (:via) to routing guide 2010-11-15 09:26:57 -07:00
Richard Hart
e43de58ab4 Updating routing namespace examples to use symbols and not strings. 2010-10-19 13:40:47 +01:00
Santiago Pastorino
afd76d7fe9 Fix error in routing guide edit_photo_path needs the id as param 2010-10-09 14:50:25 -02:00
Kulbir Saini
b1603990df Fixed routing examples in Routing guide. Updated URL to RoutingAssertions module. 2010-09-25 06:24:27 +05:30
Pedro Fayolle
78d140d06d Fixed typo (CategoriesControlleR -> CategoriesControlleR). 2010-09-23 18:26:21 -07:00
eparreno
5965219ca2 some fixes in routing guide 2010-09-22 22:11:15 +02:00
Jamison Dance
50b175030a fixed an unclear description in Sigular Resources. 2010-09-14 17:14:16 -06:00
Xavier Noria
d14e2987b5 the (public) routing DSL does not accept symbols for get|post|put|delete|match 2010-08-17 02:37:28 +02:00
Xavier Noria
a1fdf402c0 routing guide: wildcard segments are quite flexible, go beyond the simple use case 2010-08-16 01:14:09 +02:00
Santiago Pastorino
b451de0d6d Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
Xavier Noria
ddeaf6c887 routing guide: documents the CONTROLLER environment variable understood by the routes task 2010-08-08 18:31:19 +02:00
Bobby Wilson
4ed9bd6431 Changed code style that was incorrectly rendering block style instead of inline. 2010-07-21 20:34:00 -07:00
Xavier Noria
5cba663578 routing guide: say "path" when you mean path 2010-07-22 00:32:39 +02:00
Xavier Noria
b2818b2472 routing guide: a "photo" resource has by convention paths under "photos", in plural 2010-07-22 00:16:26 +02:00
Andrew White
0f96cea322 Add note about incompatibility of namespace and :controller 2010-07-07 05:32:26 +01:00
Andrew White
7d04a4be6b Reword routing guide so that we talk about prefixing as a use of :as rather than as a specific prefixing option (which :name_prefix used to be). 2010-07-04 08:05:58 +01:00
Andrew White
547199ee4a Updated routing guide to reflect the fact that :name_prefix is now :as 2010-07-03 09:18:02 +01:00
Andrew White
52e526a8e3 :singular is no longer a valid option for resources [#5037 state:resolved] 2010-07-03 09:01:01 +01:00
Trevor Turk
81e9627c7f Provide example for working around that regexp anchors can't be in route constraints 2010-06-25 18:50:56 -05:00
Neeraj Singh
a2242a608e regexp anchors can't be in route constraints 2010-06-25 10:07:09 -04:00
rspeicher
1a50cc3163 Routing guide - Minor typo/consistency changes 2010-06-14 18:46:30 -04:00
Josiah Ivey
52ed3404bc Routing guide: Fix path 2010-06-13 10:29:32 -05:00
Neeraj Singh
54437f30f7 fixing typo 2010-06-10 21:49:09 -04:00
eparreno
785caba866 Routing: fix error in nested resources with name_prefix example [#146 state:resolved] 2010-06-02 21:14:33 +02:00
eparreno
04289172cb routing guide: fix typos and clarify code examples 2010-05-13 16:12:25 +02:00
wycats
093ab3ec6e Use <plain>, not <pre> in guides 2010-04-10 17:35:31 -04:00
wycats
5087b831a0 Updated changelog 2010-04-10 04:54:25 -04:00
wycats
3401b9ba6d Update the routing guide for style and to add information on new routing features 2010-04-10 04:51:41 -04:00
Rizwan Reza
f5c54bce20 Routes Guide: Added Section on customizing path names for resources. 2010-04-05 19:37:49 +04:30
Xavier Noria
7d7e0627a0 fixes duplicate element IDs in some guides 2010-04-04 08:42:54 -07:00
Rizwan Reza
eb33f0fe74 Routing guide updated for new Routes DSL. It still misses the new features. 2010-04-02 16:38:39 +04:30
Rizwan Reza
94381b2d5a Routes guide being rewritten, done till :singular. 2010-03-25 04:04:19 +04:30
James Miller
54d01ce656 Remove a Rails 2 convention from namespaced routes 2010-02-02 23:34:44 -08:00
Prem Sichanugrist
2025bab9e6 Fix some typo that I forgot to remote 'map.' 2010-02-01 11:55:33 +07:00