aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/routing.textile
Commit message (Collapse)AuthorAgeFilesLines
* [routing guide] Add mention of get '/:username' routeRyan Bigg2012-05-261-0/+8
| | | | This is fairly common in Rails applications and is requested a lot of the time on Stack Overflow and #rubyonrails
* grammar fixes in a tip in Rails routing guideRory O’Kane2012-05-241-1/+1
|
* Remove unnecessary ).Uģis Ozols2012-04-281-1/+1
|
* Allow loading external route files from the routerJose and Yehuda2012-04-251-0/+18
| | | | | | | | | This feature enables the ability to load an external routes file from the router via: draw :filename External routes files go in +config/routes+. This feature works in both engines and applications.
* Remove default match without specified methodJose and Yehuda2012-04-241-39/+37
| | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964
* copy editing [ci skip]Vijay Dev2012-04-011-1/+1
|
* Routing guide: document lambda constraints and request argument.Henrik N2012-03-281-0/+11
|
* moves the guides up to the root directoryXavier Noria2012-03-171-0/+890