aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
Commit message (Collapse)AuthorAgeFilesLines
...
* Added shorthand for match 'products/overview' that expands to match ↵David Heinemeier Hansson2009-12-271-1/+15
| | | | 'products/overview', :to => 'products#overview', :as => 'products_overview'
* rack-mount 0.4Joshua Peek2009-12-262-20/+20
|
* The controller key shouldnt be part of the mapping if its not usedDavid Heinemeier Hansson2009-12-251-2/+2
|
* MergeDavid Heinemeier Hansson2009-12-241-1/+1
|\
| * Allow named_routes to be used with root, and with new DSL short-form.Sam Ruby2009-12-231-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 Kemper2009-12-231-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 Kemper2009-12-231-1/+1
| | | | | | | | Treat instantiation and boot as separate steps. Use app.config rather than app.configuration.
* | Extract Mapping class from monster match methodDavid Heinemeier Hansson2009-12-241-90/+137
|/
* Less annoying RoutingError messageJoshua Peek2009-12-211-2/+2
|
* Its now possible to use match 'stuff' => 'what#stuff' instead of using the ↵David Heinemeier Hansson2009-12-201-3/+7
| | | | :to for simple routes
* :to => redirect() can take a String using 1.9-style interpolation or proc ↵Yehuda Katz2009-12-201-4/+10
| | | | that takes the path parameters as a Hash
* Move route reloading into railtiesJoshua Peek2009-12-141-88/+21
|
* Fix loading plugin and engine route setsJoshua Peek2009-12-141-5/+20
|
* "new" and "edit" name routes always need to be prepend to theJoshua Peek2009-12-111-6/+23
| | | | named_route [#3561 state:resolved]
* Use rackmounts recognize api and don't piggyback recognize_path onJoshua Peek2009-12-112-21/+30
| | | | top of rack call
* Remove fancy method not allowed resource exceptions since they areJoshua Peek2009-12-111-23/+1
| | | | too much of a hack
* Kill RouteSet#recognizeJoshua Peek2009-12-101-12/+0
|
* Cleanup generate_extras build/parse messJoshua Peek2009-12-101-9/+3
|
* Check block arity passed to routes draw so you don't need to useJoshua Peek2009-12-091-1/+8
| | | | |map|
* Tack format onto resource routesJoshua Peek2009-12-081-22/+22
|
* Remove double scoping blocks and just use oneJoshua Peek2009-12-081-28/+24
|
* Seperate scope level for nesting resourcesJoshua Peek2009-12-081-8/+16
|
* Don't use name prefix by itself unless as is an empty stringJoshua Peek2009-12-081-1/+1
|
* Routes added under resource collection should be prefixed withJoshua Peek2009-12-081-1/+1
| | | | resource collection name
* Fixed named prefix scope in resource member and collection actionsJoshua Peek2009-12-071-26/+34
|
* Ignore name_prefix unless there is an explicit nameJoshua Peek2009-12-071-1/+1
|
* Move base mapper methods into Base module so plugins can easilyJoshua Peek2009-12-071-245/+247
| | | | extend the mapper
* Move name_prefix merging into Scoping concernJoshua Peek2009-12-071-3/+7
|
* Cleanup resource scoping by passing down the parent resource objectJoshua Peek2009-12-071-11/+20
| | | | in the scope
* named_prefix doesn't join with "_"Joshua Peek2009-12-071-4/+4
|
* Allow name_prefix to be pass into scopeJoshua Peek2009-12-071-40/+20
|
* Allow scope to take :path and :controller optionsJoshua Peek2009-12-071-13/+21
|
* Pass symbol in as route name when match is used with a symbolJoshua Peek2009-12-071-1/+1
|
* Use to_query in route query string generationJoshua Peek2009-12-021-24/+1
|
* Move controller namespace tracking into route set so it getsJoshua Peek2009-12-023-4/+36
| | | | reloaded in dev mode
* Stop escaping "[]" in query stringJoshua Peek2009-12-021-3/+1
|
* Fork rack build nested query to support to_paramJoshua Peek2009-12-021-2/+43
|
* Simply track controller namespaces instead of a complete list ofJoshua Peek2009-12-011-4/+6
| | | | possible controllers to route to
* Make recognize try to constantize controller to see if it existsJoshua Peek2009-12-011-0/+3
|
* Fix generating params with optional defaults [#3404 state:resolved]Joshua Peek2009-12-011-1/+1
|
* Fix some nested resource generation testsJoshua Peek2009-11-291-5/+10
|
* Wrap up http related routing helpersJoshua Peek2009-11-291-33/+37
|
* Break down long match routing methodJoshua Peek2009-11-291-23/+53
|
* Make use of extract_options!Joshua Peek2009-11-291-6/+6
|
* Extract Resource and SingletonResource helper objectsJoshua Peek2009-11-291-28/+84
|
* Resource collection should be defined before member routesJoshua Peek2009-11-291-6/+6
|
* Find all controllers in memory to use for routingJoshua Peek2009-11-231-1/+3
|
* Extract Routing.controller_constraintsJoshua Peek2009-11-232-2/+3
|
* Update routing for rackmount 0.2 api changesJoshua Peek2009-11-191-54/+11
|
* Add basic nested named route support to new routing dsl. Also add aJoshua Peek2009-11-191-8/+18
| | | | bunch of pending tests.