Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Install url helpers on module instance so they can be accessed | Joshua Peek | 2010-03-17 | 1 | -5/+13 |
| | | | | globally | ||||
* | Do not always include the named URL helpers into AC::Base and AV::Base. | Carl Lerche | 2010-03-16 | 1 | -1/+0 |
| | |||||
* | Make RouteSet#finalize! a NOOP if it's been called already. Call finalize! ↵ | Carl Lerche | 2010-03-16 | 1 | -0/+5 |
| | | | | the first time call() and url_for() are called if the RouteSet has not been finalized yet. | ||||
* | skip_relative_url_root url_for option is dead | Joshua Peek | 2010-03-09 | 1 | -1/+1 |
| | |||||
* | Allow default_url_options to be set on route set | Joshua Peek | 2010-03-09 | 1 | -0/+4 |
| | |||||
* | RouteSet#rewrite => url_for | Joshua Peek | 2010-03-09 | 1 | -2/+1 |
| | |||||
* | Unused RouteSet#url_for is hogging a good method name | Joshua Peek | 2010-03-09 | 1 | -13/+4 |
| | |||||
* | Move AC::UrlRewriter onto route set | Joshua Peek | 2010-03-09 | 1 | -0/+56 |
| | |||||
* | Refactor the RouteSet so it uses a Generator object instead of one huge method. | wycats | 2010-03-09 | 1 | -87/+109 |
| | |||||
* | Remove outdated, distracting commented code | Jeremy Kemper | 2010-03-08 | 1 | -25/+0 |
| | |||||
* | Add support for mount RackApp, :at => "/sprockets" with a shorthand of mount ↵ | Carlhuda | 2010-03-08 | 1 | -2/+2 |
| | | | | | | | | | | Sprockets => "/sprockets". This is different from the match syntax in that it cannot be used for controller/action and it does not assume an anchor at the end of the match. For instance, in the above example, if the client asked for "/sprockets/foo.js", the Sprockets app would have a SCRIPT_NAME of "/sprockets" and PATH_INFO of "/foo.js". | ||||
* | Remove the ability to set the mountpoint when initializing a route set. | Carl Lerche | 2010-03-04 | 1 | -4/+3 |
| | |||||
* | Tweak out url_for uses :script_name and add some tests | Carl Lerche | 2010-03-04 | 1 | -6/+6 |
| | |||||
* | Have ActionDispatch::Routing::RouteSet.new ready to receive routes as is. | Carl Lerche | 2010-03-04 | 1 | -0/+1 |
| | |||||
* | Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵ | Carlhuda | 2010-03-04 | 1 | -1/+4 |
| | | | | a way to specify a default SCRIPT_NAME when generating URLs out of the context of a request. | ||||
* | Remove implicit controller namespacing from new dsl | Joshua Peek | 2010-02-28 | 1 | -22/+2 |
| | |||||
* | If IntegrationSession is initialized with an objects that responds to ↵ | Carlhuda | 2010-02-26 | 1 | -1/+0 |
| | | | | #routes, automatically extend the URL helpers from the RouteSet onto it | ||||
* | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 1 | -6/+5 |
| | |||||
* | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 1 | -18/+5 |
| | |||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 1 | -0/+30 |
| | |||||
* | Merge master. | José Valim | 2010-02-17 | 1 | -1/+1 |
|\ | |||||
| * | rack-mount 0.5 support | Joshua Peek | 2010-02-15 | 1 | -1/+1 |
| | | |||||
* | | Make Railties tests green again. | José Valim | 2010-02-17 | 1 | -7/+12 |
| | | |||||
* | | Do not swallow controller loading errors unless required. | José Valim | 2010-02-16 | 1 | -10/+4 |
|/ | |||||
* | Routes should not swallow all NameErrors [#3862 status:resolved]. | José Valim | 2010-02-06 | 1 | -1/+2 |
| | |||||
* | 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 |
| |