aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Allow custom controller for resource(s) [#3703 state:resolved]Joshua Peek2010-01-161-1/+1
|
* Split ActionDispatch http in smaller chunks.José Valim2010-01-167-430/+480
|
* Fix singleton resource named routesJoshua Peek2010-01-151-2/+2
|
* Fix const reference for SessionRestoreErrorJoshua Peek2010-01-151-1/+1
|
* Always join scoped paths with slashesJoshua Peek2010-01-151-11/+17
|
* Cleanup internal resource macro to use method helper shorthandJoshua Peek2010-01-151-20/+14
|
* Routing method shorthand shouldn't clobber :to optionsJoshua Peek2010-01-151-2/+2
|
* Move Flash into middlewareJoshua Peek2010-01-152-4/+174
|
* Make HEAD method masquerade as GET so requests are routed correctlyJoshua Peek2010-01-152-5/+25
|
* Ensure log is flushed and tailed on failures.José Valim2010-01-151-4/+3
|
* Move Dispatcher setup to Railties and add instrumentation hook.José Valim2010-01-151-7/+10
|
* Respect resources_path_names and :path_names options in new dslJoshua Peek2010-01-132-44/+96
|
* Ensure optional path scopes are properly handled.José Valim2010-01-141-8/+12
|
* Add router support for resources :only and :except actionsJoshua Peek2010-01-131-16/+38
|
* Pass :as to resources to change the resource nameJoshua Peek2010-01-131-4/+5
|
* Passing in a crud action overloads the default action instead of creating aJoshua Peek2010-01-131-2/+9
| | | | new member action.
* Ensure nested namespaces work as expected.José Valim2010-01-101-7/+4
|
* Fixes namespaced routes [#3673 status:resolved]Joao Carlos2010-01-101-2/+10
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure that segments in default_url_options also work with format specified.José Valim2010-01-071-2/+2
|
* From now on, parameters defined in default_url_options can be absent from ↵José Valim2010-01-071-21/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | named routes. This allows the following setup to work: # app/controllers/application_controller.rb class ApplicationController def default_url_options(options=nil) { :locale => I18n.locale } end end # From your views and controllers: I18n.locale #=> :en users_url #=> "/en/users" users_url(:pl) #=> "/pl/users" user_url(1) #=> "/en/users/1" user_url(:pl, 1) #=> "/pl/users/1" user_url(1, :locale => :pl) #=> "/pl/users/1" If you provide all expected parameters, it still works as previously. But if any parameter is missing, it tries to assign all possible ones with the hash returned in default_url_options or the one passed straight to the named route method. Beware that default_url_options in ApplicationController is not shared with ActionMailer, so you are required to always give the locale in your email views.
* namespace in routes changes both the path and name prefix.José Valim2010-01-061-1/+1
|
* Allow named routes to be debugged.José Valim2010-01-061-23/+20
|
* Ruby 1.9.1 requires hash given to foormat to contain symbols.José Valim2010-01-061-1/+1
|
* Remove CGI.escape in function of Rack::Mount.escapeJosé Valim2010-01-061-1/+1
|
* redirect in routes takes port into account [#3653 status:resolved]José Valim2010-01-051-0/+1
|
* All router redirect helper to accept a full URI [#3653 state:resolved]Joshua Peek2010-01-051-5/+13
|
* assert_template depends on AV::Template monkey patches in action_view/test_caseJoshua Peek2010-01-051-0/+9
|
* Trash string coercion rack hacksJoshua Peek2010-01-041-29/+0
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* @_formats initialization should be AbstractController::Base.José Valim2010-01-041-1/+1
|
* Remove deprecated formatted named routesJosé Valim2010-01-041-8/+0
|
* Add notifications to ActionDispatch::ShowExceptions, this can be used as ↵José Valim2010-01-031-2/+22
| | | | hooks for plugins like ExceptionNotifier.
* fixed missing or incorrect session data error messageStefan Penner2010-01-021-1/+1
|
* 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
| |