Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added shorthand for match 'products/overview' that expands to match ↵ | David Heinemeier Hansson | 2009-12-27 | 1 | -1/+15 | |
| | | | | 'products/overview', :to => 'products#overview', :as => 'products_overview' | |||||
* | rack-mount 0.4 | Joshua Peek | 2009-12-26 | 2 | -20/+20 | |
| | ||||||
* | The controller key shouldnt be part of the mapping if its not used | David Heinemeier Hansson | 2009-12-25 | 1 | -2/+2 | |
| | ||||||
* | Merge | David Heinemeier Hansson | 2009-12-24 | 1 | -1/+1 | |
|\ | ||||||
| * | Allow named_routes to be used with root, and with new DSL short-form. | Sam Ruby | 2009-12-23 | 1 | -8/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | The real use case it to make all of the following act the same: root 'store#index', :as => 'store' match '/' => 'store#index', :as => 'store' match '/', :to => 'store#index', :as => 'store' The test case provided deviates from this in order to demonstrate all three forms in a single set of test routes. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
| * | Routing: fix that route shorthand shouldn't ignore other options. Raise if ↵ | Jeremy Kemper | 2009-12-23 | 1 | -2/+4 | |
| | | | | | | | | :as option is given to root method since its name is always 'root' | |||||
| * | Shift more responsibility from application class to its singleton instance. ↵ | Jeremy Kemper | 2009-12-23 | 1 | -1/+1 | |
| | | | | | | | | Treat instantiation and boot as separate steps. Use app.config rather than app.configuration. | |||||
* | | Extract Mapping class from monster match method | David Heinemeier Hansson | 2009-12-24 | 1 | -90/+137 | |
|/ | ||||||
* | Less annoying RoutingError message | Joshua Peek | 2009-12-21 | 1 | -2/+2 | |
| | ||||||
* | Its now possible to use match 'stuff' => 'what#stuff' instead of using the ↵ | David Heinemeier Hansson | 2009-12-20 | 1 | -3/+7 | |
| | | | | :to for simple routes | |||||
* | :to => redirect() can take a String using 1.9-style interpolation or proc ↵ | Yehuda Katz | 2009-12-20 | 1 | -4/+10 | |
| | | | | that takes the path parameters as a Hash | |||||
* | Move route reloading into railties | Joshua Peek | 2009-12-14 | 1 | -88/+21 | |
| | ||||||
* | Fix loading plugin and engine route sets | Joshua Peek | 2009-12-14 | 1 | -5/+20 | |
| | ||||||
* | "new" and "edit" name routes always need to be prepend to the | Joshua Peek | 2009-12-11 | 1 | -6/+23 | |
| | | | | named_route [#3561 state:resolved] | |||||
* | Use rackmounts recognize api and don't piggyback recognize_path on | Joshua Peek | 2009-12-11 | 2 | -21/+30 | |
| | | | | top of rack call | |||||
* | Remove fancy method not allowed resource exceptions since they are | Joshua Peek | 2009-12-11 | 1 | -23/+1 | |
| | | | | too much of a hack | |||||
* | Kill RouteSet#recognize | Joshua Peek | 2009-12-10 | 1 | -12/+0 | |
| | ||||||
* | Cleanup generate_extras build/parse mess | Joshua Peek | 2009-12-10 | 1 | -9/+3 | |
| | ||||||
* | Check block arity passed to routes draw so you don't need to use | Joshua Peek | 2009-12-09 | 1 | -1/+8 | |
| | | | | |map| | |||||
* | Tack format onto resource routes | Joshua Peek | 2009-12-08 | 1 | -22/+22 | |
| | ||||||
* | Remove double scoping blocks and just use one | Joshua Peek | 2009-12-08 | 1 | -28/+24 | |
| | ||||||
* | Seperate scope level for nesting resources | Joshua Peek | 2009-12-08 | 1 | -8/+16 | |
| | ||||||
* | Don't use name prefix by itself unless as is an empty string | Joshua Peek | 2009-12-08 | 1 | -1/+1 | |
| | ||||||
* | Routes added under resource collection should be prefixed with | Joshua Peek | 2009-12-08 | 1 | -1/+1 | |
| | | | | resource collection name | |||||
* | Fixed named prefix scope in resource member and collection actions | Joshua Peek | 2009-12-07 | 1 | -26/+34 | |
| | ||||||
* | Ignore name_prefix unless there is an explicit name | Joshua Peek | 2009-12-07 | 1 | -1/+1 | |
| | ||||||
* | Move base mapper methods into Base module so plugins can easily | Joshua Peek | 2009-12-07 | 1 | -245/+247 | |
| | | | | extend the mapper | |||||
* | Move name_prefix merging into Scoping concern | Joshua Peek | 2009-12-07 | 1 | -3/+7 | |
| | ||||||
* | Cleanup resource scoping by passing down the parent resource object | Joshua Peek | 2009-12-07 | 1 | -11/+20 | |
| | | | | in the scope | |||||
* | named_prefix doesn't join with "_" | Joshua Peek | 2009-12-07 | 1 | -4/+4 | |
| | ||||||
* | Allow name_prefix to be pass into scope | Joshua Peek | 2009-12-07 | 1 | -40/+20 | |
| | ||||||
* | Allow scope to take :path and :controller options | Joshua Peek | 2009-12-07 | 1 | -13/+21 | |
| | ||||||
* | Pass symbol in as route name when match is used with a symbol | Joshua Peek | 2009-12-07 | 1 | -1/+1 | |
| | ||||||
* | Use to_query in route query string generation | Joshua Peek | 2009-12-02 | 1 | -24/+1 | |
| | ||||||
* | Move controller namespace tracking into route set so it gets | Joshua Peek | 2009-12-02 | 3 | -4/+36 | |
| | | | | reloaded in dev mode | |||||
* | Stop escaping "[]" in query string | Joshua Peek | 2009-12-02 | 1 | -3/+1 | |
| | ||||||
* | Fork rack build nested query to support to_param | Joshua Peek | 2009-12-02 | 1 | -2/+43 | |
| | ||||||
* | Simply track controller namespaces instead of a complete list of | Joshua Peek | 2009-12-01 | 1 | -4/+6 | |
| | | | | possible controllers to route to | |||||
* | Make recognize try to constantize controller to see if it exists | Joshua Peek | 2009-12-01 | 1 | -0/+3 | |
| | ||||||
* | Fix generating params with optional defaults [#3404 state:resolved] | Joshua Peek | 2009-12-01 | 1 | -1/+1 | |
| | ||||||
* | Fix some nested resource generation tests | Joshua Peek | 2009-11-29 | 1 | -5/+10 | |
| | ||||||
* | Wrap up http related routing helpers | Joshua Peek | 2009-11-29 | 1 | -33/+37 | |
| | ||||||
* | Break down long match routing method | Joshua Peek | 2009-11-29 | 1 | -23/+53 | |
| | ||||||
* | Make use of extract_options! | Joshua Peek | 2009-11-29 | 1 | -6/+6 | |
| | ||||||
* | Extract Resource and SingletonResource helper objects | Joshua Peek | 2009-11-29 | 1 | -28/+84 | |
| | ||||||
* | Resource collection should be defined before member routes | Joshua Peek | 2009-11-29 | 1 | -6/+6 | |
| | ||||||
* | Find all controllers in memory to use for routing | Joshua Peek | 2009-11-23 | 1 | -1/+3 | |
| | ||||||
* | Extract Routing.controller_constraints | Joshua Peek | 2009-11-23 | 2 | -2/+3 | |
| | ||||||
* | Update routing for rackmount 0.2 api changes | Joshua Peek | 2009-11-19 | 1 | -54/+11 | |
| | ||||||
* | Add basic nested named route support to new routing dsl. Also add a | Joshua Peek | 2009-11-19 | 1 | -8/+18 | |
| | | | | bunch of pending tests. |