aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Fix singleton resource named routesJoshua Peek2010-01-151-2/+2
|
* Always join scoped paths with slashesJoshua Peek2010-01-151-11/+17
|
* Cleanup internal resource macro to use method helper shorthandJoshua Peek2010-01-151-20/+14
|
* Routing method shorthand shouldn't clobber :to optionsJoshua Peek2010-01-151-2/+2
|
* Respect resources_path_names and :path_names options in new dslJoshua Peek2010-01-132-44/+96
|
* Ensure optional path scopes are properly handled.José Valim2010-01-141-8/+12
|
* Add router support for resources :only and :except actionsJoshua Peek2010-01-131-16/+38
|
* Pass :as to resources to change the resource nameJoshua Peek2010-01-131-4/+5
|
* Passing in a crud action overloads the default action instead of creating aJoshua Peek2010-01-131-2/+9
| | | | new member action.
* Ensure nested namespaces work as expected.José Valim2010-01-101-7/+4
|
* Fixes namespaced routes [#3673 status:resolved]Joao Carlos2010-01-101-2/+10
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* 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.
* namespace in routes changes both the path and name prefix.José Valim2010-01-061-1/+1
|
* Allow named routes to be debugged.José Valim2010-01-061-23/+20
|
* Ruby 1.9.1 requires hash given to foormat to contain symbols.José Valim2010-01-061-1/+1
|
* redirect in routes takes port into account [#3653 status:resolved]José Valim2010-01-051-0/+1
|
* All router redirect helper to accept a full URI [#3653 state:resolved]Joshua Peek2010-01-051-5/+13
|
* Remove deprecated formatted named routesJosé Valim2010-01-041-8/+0
|
* Ruby 1.9: string is not enumerable, so #exclude? is not availableJeremy Kemper2009-12-271-5/+3
|
* TypoJeremy Kemper2009-12-271-1/+1
|
* Require the enumberable extension from active support because we use #exclude?David Heinemeier Hansson2009-12-271-0/+2
|