Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refactor the RouteSet so it uses a Generator object instead of one huge method. | wycats | 2010-03-09 | 1 | -87/+109 | |
| | ||||||
* | Reinstate default_url_options and remove url_options= writer | Jeremy Kemper | 2010-03-08 | 1 | -47/+19 | |
| | ||||||
* | Remove outdated, distracting commented code | Jeremy Kemper | 2010-03-08 | 1 | -25/+0 | |
| | ||||||
* | Now that class_attribute creates an instance method, remove it to avoid ↵ | wycats | 2010-03-08 | 1 | -1/+2 | |
| | | | | deprecation warnings ;) | |||||
* | Require 'active_support/core_ext/hash/except' in the router. | Carl Lerche | 2010-03-08 | 1 | -0/+2 | |
| | ||||||
* | Whoops. We meant to switch from returning to tap, not vice versa | Carlhuda | 2010-03-08 | 1 | -1/+1 | |
| | ||||||
* | Add support for mount RackApp, :at => "/sprockets" with a shorthand of mount ↵ | Carlhuda | 2010-03-08 | 3 | -10/+25 | |
| | | | | | | | | | | 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". | |||||
* | Make sure nested singular resources get the correct name | Jan De Poorter | 2010-03-07 | 1 | -1/+4 | |
| | | | | | | [#3911 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -1/+3 | |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | |||||
* | Tweak default_url_options deprecation warning | Jeremy Kemper | 2010-03-05 | 1 | -2/+2 | |
| | ||||||
* | 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 | 2 | -10/+11 | |
| | ||||||
* | 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 | 2 | -2/+9 | |
| | | | | 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 | 3 | -23/+27 | |
| | ||||||
* | The instance_reader of default_url_options needs to not exist. | Yehuda Katz | 2010-02-27 | 1 | -0/+1 | |
| | ||||||
* | 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 | |||||
* | Change the API for setting global options for #url_for to self.url_options = ↵ | Carlhuda | 2010-02-26 | 1 | -11/+23 | |
| | | | | | | { ... } This attr_accessor can be set in a before filter or in the action itself. Overwriting default_url_options still works but will output a deprecation notice. | |||||
* | Remove the :use_defaults check in UrlFor#merge options | Carlhuda | 2010-02-26 | 1 | -1/+1 | |
| | ||||||
* | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 1 | -6/+5 | |
| | ||||||
* | Final pass at removing the router from a global constant | Carlhuda | 2010-02-25 | 1 | -5/+0 | |
| | ||||||
* | Continued effort to deglobalize the router | Carlhuda | 2010-02-25 | 2 | -42/+12 | |
| | ||||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 3 | -1/+198 | |
| | ||||||
* | Remove ActionController::Base.resources_path_names | Carl Lerche | 2010-02-24 | 1 | -7/+8 | |
| | ||||||
* | Use ActionDispatch::Routing everywhere | Martin Schürrer | 2010-02-21 | 1 | -0/+5 | |
| | ||||||
* | Rename router internal option :namespace to :controller_namespace which is ↵ | José Valim | 2010-02-17 | 1 | -3/+3 | |
| | | | | its real purpose. | |||||
* | 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 | |
| | | ||||||
* | | Should allow symbols in :only and :except in routes. | José Valim | 2010-02-16 | 1 | -5/+5 | |
| | | ||||||
* | | 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 | |
| | ||||||
* | Routing Mapper with % interpolation on Ruby 1.9.1 fixed [#3837 status:resolved] | Santiago Pastorino and José Ignacio Costa | 2010-02-02 | 1 | -2/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Ensure root routes inside optional scopes works as expected. | José Valim | 2010-01-26 | 1 | -2/+3 | |
| | ||||||
* | Ensure namespaced controllers in engines work. | José Valim | 2010-01-24 | 1 | -21/+7 | |
| | ||||||
* | Add AD::Route#to_s | Sam Ruby | 2010-01-20 | 1 | -0/+6 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Define named routes for other non-GET REST actions | Joshua Peek | 2010-01-19 | 1 | -4/+32 | |
| | ||||||
* | Fix resources_path_names branch which was sending an array as entity. [#3715 ↵ | José Valim | 2010-01-17 | 1 | -34/+25 | |
| | | | | status:resolved] | |||||
* | Allow custom controller for resource(s) [#3703 state:resolved] | Joshua Peek | 2010-01-16 | 1 | -1/+1 | |
| | ||||||
* | Fix singleton resource named routes | Joshua Peek | 2010-01-15 | 1 | -2/+2 | |
| | ||||||
* | Always join scoped paths with slashes | Joshua Peek | 2010-01-15 | 1 | -11/+17 | |
| | ||||||
* | Cleanup internal resource macro to use method helper shorthand | Joshua Peek | 2010-01-15 | 1 | -20/+14 | |
| | ||||||
* | Routing method shorthand shouldn't clobber :to options | Joshua Peek | 2010-01-15 | 1 | -2/+2 | |
| | ||||||
* | Respect resources_path_names and :path_names options in new dsl | Joshua Peek | 2010-01-13 | 2 | -44/+96 | |
| | ||||||
* | Ensure optional path scopes are properly handled. | José Valim | 2010-01-14 | 1 | -8/+12 | |
| | ||||||
* | Add router support for resources :only and :except actions | Joshua Peek | 2010-01-13 | 1 | -16/+38 | |
| | ||||||
* | Pass :as to resources to change the resource name | Joshua Peek | 2010-01-13 | 1 | -4/+5 | |
| | ||||||
* | Passing in a crud action overloads the default action instead of creating a | Joshua Peek | 2010-01-13 | 1 | -2/+9 | |
| | | | | new member action. | |||||
* | Ensure nested namespaces work as expected. | José Valim | 2010-01-10 | 1 | -7/+4 | |
| | ||||||
* | Fixes namespaced routes [#3673 status:resolved] | Joao Carlos | 2010-01-10 | 1 | -2/+10 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> |