aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
Commit message (Collapse)AuthorAgeFilesLines
* Make sure options[:anchor] is correct in shorthand caseswycats2010-03-161-2/+5
|
* Do not always include the named URL helpers into AC::Base and AV::Base.Carl Lerche2010-03-161-1/+0
|
* Make RouteSet#finalize! a NOOP if it's been called already. Call finalize! ↵Carl Lerche2010-03-161-0/+5
| | | | the first time call() and url_for() are called if the RouteSet has not been finalized yet.
* Revert "Reinstate old default_url_options method signature"Jeremy Kemper2010-03-151-1/+1
| | | | This reverts commit 5913dd478150710fc0b72a0568f68e13c958d6bc.
* Reinstate old default_url_options method signatureJeremy Kemper2010-03-151-1/+1
|
* Don't force singularization of singleton resource names, e.g. /preferences ↵Andrew White2010-03-151-8/+8
| | | | | | [#4089 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* skip_relative_url_root url_for option is deadJoshua Peek2010-03-092-3/+1
|
* Allow default_url_options to be set on route setJoshua Peek2010-03-092-0/+9
|
* RouteSet#rewrite => url_forJoshua Peek2010-03-092-3/+2
|
* Unused RouteSet#url_for is hogging a good method nameJoshua Peek2010-03-091-13/+4
|
* Move AC::UrlRewriter onto route setJoshua Peek2010-03-092-1/+57
|
* Refactor the RouteSet so it uses a Generator object instead of one huge method.wycats2010-03-091-87/+109
|
* Reinstate default_url_options and remove url_options= writerJeremy Kemper2010-03-081-47/+19
|
* Remove outdated, distracting commented codeJeremy Kemper2010-03-081-25/+0
|
* Now that class_attribute creates an instance method, remove it to avoid ↵wycats2010-03-081-1/+2
| | | | deprecation warnings ;)
* Require 'active_support/core_ext/hash/except' in the router.Carl Lerche2010-03-081-0/+2
|
* Whoops. We meant to switch from returning to tap, not vice versaCarlhuda2010-03-081-1/+1
|
* Add support for mount RackApp, :at => "/sprockets" with a shorthand of mount ↵Carlhuda2010-03-083-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 nameJan De Poorter2010-03-071-1/+4
| | | | | | [#3911 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-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 warningJeremy Kemper2010-03-051-2/+2
|
* Remove the ability to set the mountpoint when initializing a route set.Carl Lerche2010-03-041-4/+3
|
* Tweak out url_for uses :script_name and add some testsCarl Lerche2010-03-042-10/+11
|
* Have ActionDispatch::Routing::RouteSet.new ready to receive routes as is.Carl Lerche2010-03-041-0/+1
|
* Get rid of relative_url_path in favor of respecting SCRIPT_NAME. Also added ↵Carlhuda2010-03-042-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 dslJoshua Peek2010-02-283-23/+27
|
* The instance_reader of default_url_options needs to not exist.Yehuda Katz2010-02-271-0/+1
|
* If IntegrationSession is initialized with an objects that responds to ↵Carlhuda2010-02-261-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 = ↵Carlhuda2010-02-261-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 optionsCarlhuda2010-02-261-1/+1
|
* Rename named_url_helpers to url_helpers and url_helpers to url_forCarlhuda2010-02-261-6/+5
|
* Final pass at removing the router from a global constantCarlhuda2010-02-251-5/+0
|
* Continued effort to deglobalize the routerCarlhuda2010-02-252-42/+12
|
* WIP: Remove the global routerCarlhuda2010-02-253-1/+198
|
* Remove ActionController::Base.resources_path_namesCarl Lerche2010-02-241-7/+8
|
* Use ActionDispatch::Routing everywhereMartin Schürrer2010-02-211-0/+5
|
* Rename router internal option :namespace to :controller_namespace which is ↵José Valim2010-02-171-3/+3
| | | | its real purpose.
* Merge master.José Valim2010-02-171-1/+1
|\
| * rack-mount 0.5 supportJoshua Peek2010-02-151-1/+1
| |
* | Make Railties tests green again.José Valim2010-02-171-7/+12
| |
* | Should allow symbols in :only and :except in routes.José Valim2010-02-161-5/+5
| |
* | Do not swallow controller loading errors unless required.José Valim2010-02-161-10/+4
|/
* Routes should not swallow all NameErrors [#3862 status:resolved].José Valim2010-02-061-1/+2
|
* Routing Mapper with % interpolation on Ruby 1.9.1 fixed [#3837 status:resolved]Santiago Pastorino and José Ignacio Costa2010-02-021-2/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure root routes inside optional scopes works as expected.José Valim2010-01-261-2/+3
|
* Ensure namespaced controllers in engines work.José Valim2010-01-241-21/+7
|
* Add AD::Route#to_sSam Ruby2010-01-201-0/+6
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Define named routes for other non-GET REST actionsJoshua Peek2010-01-191-4/+32
|
* Fix resources_path_names branch which was sending an array as entity. [#3715 ↵José Valim2010-01-171-34/+25
| | | | status:resolved]
* Allow custom controller for resource(s) [#3703 state:resolved]Joshua Peek2010-01-161-1/+1
|