aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/route_set.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ensure namespaced controllers in engines work.José Valim2010-01-241-21/+7
|
* Respect resources_path_names and :path_names options in new dslJoshua Peek2010-01-131-2/+9
|
* 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.
* Allow named routes to be debugged.José Valim2010-01-061-23/+20
|
* Remove deprecated formatted named routesJosé Valim2010-01-041-8/+0
|
* rack-mount 0.4Joshua Peek2009-12-261-1/+1
|
* 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.
* Less annoying RoutingError messageJoshua Peek2009-12-211-2/+2
|
* Move route reloading into railtiesJoshua Peek2009-12-141-88/+21
|
* Fix loading plugin and engine route setsJoshua Peek2009-12-141-5/+20
|
* Use rackmounts recognize api and don't piggyback recognize_path onJoshua Peek2009-12-111-20/+29
| | | | 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|
* 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-021-2/+34
| | | | 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
|
* Find all controllers in memory to use for routingJoshua Peek2009-11-231-1/+3
|
* Update routing for rackmount 0.2 api changesJoshua Peek2009-11-191-54/+11
|
* Remove rackmount const usageJoshua Peek2009-11-121-1/+1
|
* Ruby 1.9: don't assume params are US-ASCII. Hands off the encoding.Jeremy Kemper2009-11-041-1/+6
|
* Restore `rake routes` [#3402 state:resolved]Joshua Peek2009-10-241-8/+3
|
* New routing dslJoshua Peek2009-10-201-2/+2
|
* Group together all the old routing dsl logicJoshua Peek2009-10-201-204/+2
|
* Move Routing into ADJoshua Peek2009-10-201-0/+699