Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure namespaced controllers in engines work. | José Valim | 2010-01-24 | 1 | -21/+7 |
| | |||||
* | Respect resources_path_names and :path_names options in new dsl | Joshua Peek | 2010-01-13 | 1 | -2/+9 |
| | |||||
* | Ensure that segments in default_url_options also work with format specified. | José Valim | 2010-01-07 | 1 | -2/+2 |
| | |||||
* | From now on, parameters defined in default_url_options can be absent from ↵ | José Valim | 2010-01-07 | 1 | -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é Valim | 2010-01-06 | 1 | -23/+20 |
| | |||||
* | Remove deprecated formatted named routes | José Valim | 2010-01-04 | 1 | -8/+0 |
| | |||||
* | rack-mount 0.4 | Joshua Peek | 2009-12-26 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Less annoying RoutingError message | Joshua Peek | 2009-12-21 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | Use rackmounts recognize api and don't piggyback recognize_path on | Joshua Peek | 2009-12-11 | 1 | -20/+29 |
| | | | | 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| | ||||
* | 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 | 1 | -2/+34 |
| | | | | 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 |
| | |||||
* | Find all controllers in memory to use for routing | Joshua Peek | 2009-11-23 | 1 | -1/+3 |
| | |||||
* | Update routing for rackmount 0.2 api changes | Joshua Peek | 2009-11-19 | 1 | -54/+11 |
| | |||||
* | Remove rackmount const usage | Joshua Peek | 2009-11-12 | 1 | -1/+1 |
| | |||||
* | Ruby 1.9: don't assume params are US-ASCII. Hands off the encoding. | Jeremy Kemper | 2009-11-04 | 1 | -1/+6 |
| | |||||
* | Restore `rake routes` [#3402 state:resolved] | Joshua Peek | 2009-10-24 | 1 | -8/+3 |
| | |||||
* | New routing dsl | Joshua Peek | 2009-10-20 | 1 | -2/+2 |
| | |||||
* | Group together all the old routing dsl logic | Joshua Peek | 2009-10-20 | 1 | -204/+2 |
| | |||||
* | Move Routing into AD | Joshua Peek | 2009-10-20 | 1 | -0/+699 |