aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/routing.md
Commit message (Collapse)AuthorAgeFilesLines
* Update routing.mdJonan Scheffler2015-04-011-0/+12
| | | | | | This adds instructions for routing to rack applications with mount instead of match. I just spent an unreasonable amount of time staring at this, hopefully the next person will save some time. It's possible that the docs should simply advise people to use mount and leave out the match method but I don't know enough about the differences in the two approaches to assert that definitively.
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-03-261-1/+1
|\ | | | | | | | | Conflicts: guides/source/4_0_release_notes.md
| * Add backquote to :as option.yui-knk2015-03-111-1/+1
| |
* | [ci skip] Change to code elementyui-knk2015-03-111-1/+1
| |
* | Fixing incorrect class name used in an example.Kevin Jayanthan2015-03-021-1/+1
|/ | | On "Controller Namespaces and Routing" section of the "Rails Routing from the Outside In" , the examples are using "AritclesController" as an example of a controller, to show different organizers. But on the line 232, it incorrectly uses "PostsController" instead of "AritclesController".
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Merge pull request #16799 from rramsden/fix-typoYves Senn2014-09-041-1/+1
|\ | | | | [ci skip] Fix typo in rails guide for routing
| * [ci skip] Fix typo in rails guide for routingRichard Ramsden2014-09-041-1/+1
| |
* | :nail_care: from #16329 [ci skip]Zachary Scott2014-07-291-1/+1
| |
* | Get request should not write to database note added. [skip ci]Deepender Singla2014-07-291-0/+2
| |
* | [ci skip] Fix code in Routing Guideyuuji.yaginuma2014-07-211-1/+1
| |
* | Add @senny's changed from #14741, including code font for `resources`Zachary Scott2014-05-291-1/+4
| | | | | | | | options, and wrapped to 80 chars. [ci skip]
* | Merge branch 'master' of github.com:zackperdue/rails into zackperdue-masterZachary Scott2014-05-291-0/+19
|\ \
| * | Added documentation for the :param option for resourceful routingZack Perdue2014-04-141-0/+19
| | |
* | | Rename Posts to Articles in Guides, continuation of 2d446e77 / #13774 [ci skip]John Kelly Ferguson2014-05-211-65/+65
| | |
* | | Use generated binstubs in guides examples.Josef Šimánek2014-05-201-1/+1
| | | | | | | | | | | | [ci skip]
* | | [ci skip] Minor improvements on routing.md.Juanito Fatas2014-05-091-11/+11
|/ /
* | Update documentation to use Rails.application insteadMarcel Morgan2014-04-131-2/+2
| | | | | | | | | | | | | | References to ``AppName::Application` removed in favour of ``Rails.application`` as generated with a new rails 4.1 app. [ci skip]
* | Be explicit about allowed constraint values, fixes #14702Jano Suchal2014-04-111-0/+2
| |
* | Fixes docs typo in nested resource path helpers [skip ci]Gareth du Plooy2014-02-261-18/+18
| |
* | add patch in HTTP Verb Constraints [ci skip]Angelo capilleri2014-02-111-1/+1
| |
* | Allow an absolute controller path inside a module scopeAndrew White2014-01-051-0/+2
| | | | | | | | Fixes #12777
* | Update explanation to match exampleSteven Nunez2013-12-301-1/+1
| |
* | Fixed typos in shallow routes and routing concernsBen Lewis2013-11-181-2/+2
| | | | | | | | Grammatical tense correction: "There exists two" => "There exist two". Plurality correction: "can be reused inside others resources" => "can be reused inside other resources".
* | [ci skip] Make all tables have Controller#Action, change a tense in sentence.Juanito Fatas2013-10-311-90/+93
| |
* | Use Ruby on Rails Coding Conventions for code examples in the guidesPaul Nikitochkin2013-09-061-2/+2
| | | | | | | | | | | | | | | | * Indent after private/protected * Ruby >= 1.9 syntax for hashes * Prefer method { do_stuff } instead of method{do_stuff} for single-line blocks. [ci skip]
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-06-261-0/+6
|\ \ | | | | | | | | | | | | Conflicts: guides/source/layout.html.erb
| * | Added markdown tag for highlightAnton Cherepanov2013-06-241-1/+1
| | |
| * | Added a warning about #1769 to the routing guide.Cody Robbins2013-06-071-0/+6
| |/
* / Clarify what arguments are passed to redirect blocks - fixes #11056Andrew White2013-06-251-3/+3
|/
* Revert "change additional 'RESTful' routes to 'resourceful' routes as the ↵RSL2013-05-301-1/+1
| | | | | | additional actions may potentially get you farther away from RESTfulness" This reverts commit 382419d28fe8c43b88e39b83ac175973a36feca8.
* change additional 'RESTful' routes to 'resourceful' routes as the additional ↵RSL2013-05-301-1/+1
| | | | actions may potentially get you farther away from RESTfulness
* Consistent use of one space only after punctuationSunny Ripert2013-05-281-2/+2
|
* ruby -> RubyPrathamesh Sonpatki2013-05-121-1/+1
|
* Updated Singular Resource shorthand to mention shorthand without controller ↵Oliver Jakubiec2013-04-101-0/+6
| | | | name.
* The default route has been removedTrevor Turk2013-03-181-1/+1
|
* Capitalize first letter in sentenceMikhail Dieterle2013-03-161-1/+1
|
* Merge pull request #9446 from bemurphy/enhance_root_route_guideCarlos Antonio da Silva2013-02-261-0/+10
|\ | | | | Add routing guide doc on root with namespaces. [ci skip]
| * Add routing guide doc on root with namespaces.Brendon Murphy2013-02-261-0/+10
| | | | | | | | | | | | I read #9419 and realized I didn't know you could have namespaced roots, checked around, and a few friends didn't either. Figured this makes it guide worthy.
* | clarify singular and plural routesNoam Gagliardi2013-02-181-1/+1
|/ | | Found the wording on line 158 somewhat confusing. Added short example to clarify.
* ruby constant syntax is not supported as routing `:controller` option.Yves Senn2013-02-061-0/+13
| | | | | | | | | | The current implementation only works correctly if you supply the `:controller` with directory notation (eg. `:controller => 'admin/posts'`). The ruby constant notation (eg. `:controller => 'Admin::Posts`) leads to unexpected problems with `url_for`. This patch prints a warning for every non supported `:controller` option. I also added documentation how to work with namespaced controllers. The warning links to that documentation in the rails guide.
* Update guides/source/routing.mdGeorge Claghorn2012-12-111-1/+1
| | | It's no longer necessary to delete public/index.html for the root route to take effect.
* Document adding member route without the optionFlorent Guilleux2012-12-101-1/+3
|
* Remove references to Rails versions.Steve Klabnik2012-12-071-6/+0
| | | | | | | | There's no reason for guides to reference old behaviors. They should be current as of the versions of Rails that they ship with, and including older information just clutters thing. I discussed this change with @fxn and he agrees.
* Fixed grammar in a lot of guide prologues.Katie Oldaker2012-12-071-5/+5
|
* Standardize use of "route globbing" and "wildcard segments" [ci skip]Pablo Torres2012-12-021-3/+3
|
* Add counterexample for regex [ci skip]Pablo Torres2012-12-021-1/+1
|
* Convert parragraph about security to a NOTE [ci skip]Pablo Torres2012-12-021-1/+1
|
* Add clarity to static segments docs in non-resourceful routes [ci skip]Pablo Torres2012-12-021-1/+1
|