Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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> | |||||
* | 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. | |||||
* | namespace in routes changes both the path and name prefix. | José Valim | 2010-01-06 | 1 | -1/+1 | |
| | ||||||
* | Allow named routes to be debugged. | José Valim | 2010-01-06 | 1 | -23/+20 | |
| | ||||||
* | Ruby 1.9.1 requires hash given to foormat to contain symbols. | José Valim | 2010-01-06 | 1 | -1/+1 | |
| | ||||||
* | redirect in routes takes port into account [#3653 status:resolved] | José Valim | 2010-01-05 | 1 | -0/+1 | |
| | ||||||
* | All router redirect helper to accept a full URI [#3653 state:resolved] | Joshua Peek | 2010-01-05 | 1 | -5/+13 | |
| | ||||||
* | Remove deprecated formatted named routes | José Valim | 2010-01-04 | 1 | -8/+0 | |
| | ||||||
* | Ruby 1.9: string is not enumerable, so #exclude? is not available | Jeremy Kemper | 2009-12-27 | 1 | -5/+3 | |
| | ||||||
* | Typo | Jeremy Kemper | 2009-12-27 | 1 | -1/+1 | |
| | ||||||
* | Require the enumberable extension from active support because we use #exclude? | David Heinemeier Hansson | 2009-12-27 | 1 | -0/+2 | |
| | ||||||
* | Added shorthand for match 'products/overview' that expands to match ↵ | David Heinemeier Hansson | 2009-12-27 | 1 | -1/+15 | |
| | | | | 'products/overview', :to => 'products#overview', :as => 'products_overview' | |||||
* | rack-mount 0.4 | Joshua Peek | 2009-12-26 | 2 | -20/+20 | |
| | ||||||
* | The controller key shouldnt be part of the mapping if its not used | David Heinemeier Hansson | 2009-12-25 | 1 | -2/+2 | |
| |