aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Make sure evalled method knows where it came fromYehuda Katz2009-12-291-2/+2
|
* Complain if there's no such middlewareJeremy Kemper2009-12-281-2/+3
|
* Silence some trivial warnings: shadowed local vars, indentation mismatchesJeremy Kemper2009-12-282-8/+8
|
* Ruby 1.9: string is not enumerable, so #exclude? is not availableJeremy Kemper2009-12-271-5/+3
|
* TypoJeremy Kemper2009-12-271-1/+1
|
* Require the enumberable extension from active support because we use #exclude?David Heinemeier Hansson2009-12-271-0/+2
|
* 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'
* AD::Cascade that supports X-CascadeJoshua Peek2009-12-261-0/+29
|
* 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
|/
* MergeDavid Heinemeier Hansson2009-12-2211-54/+31
|\
| * All AD modules are "deferrable"Joshua Peek2009-12-227-16/+26
| |
| * Referer and user agent are in Rack::RequestJoshua Peek2009-12-221-1/+1
| |
| * AD::StatusCodes support is now part of rackJoshua Peek2009-12-224-37/+4
| |
* | Dont encourage __FILE__ bullshitDavid Heinemeier Hansson2009-12-221-2/+2
|/
* 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
* We don't need AD parse_configJoshua Peek2009-12-201-20/+0
|
* AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵Yehuda Katz2009-12-202-1/+9
| | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency)
* Just a little tidyingDavid Heinemeier Hansson2009-12-201-24/+22
|
* Added ActionDispatch::Request#authorization to access the http ↵David Heinemeier Hansson2009-12-201-0/+9
| | | | authentication header regardless of its proxy hiding [DHH]
* :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
* Pending tests for AD ResponseJoshua Peek2009-12-171-13/+12
|
* Use AbstractController error constantsJoshua Peek2009-12-161-3/+2
|
* Move route reloading into railtiesJoshua Peek2009-12-142-90/+21
|
* Fix loading plugin and engine route setsJoshua Peek2009-12-141-5/+20
|
* Fix warnings in AD::ResponseJoshua Peek2009-12-141-0/+3
|
* Allow autoloads to opt out of eager loadingJoshua Peek2009-12-123-9/+2
|
* TestProcess belongs in ADJoshua Peek2009-12-125-9/+102
|
* "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-102-14/+4
|
* Cleanup generate_extras build/parse messJoshua Peek2009-12-101-9/+3
|
* Reduce usage of interpret_status. It should also return a integerJoshua Peek2009-12-102-20/+1
| | | | not a string.
* 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
|