Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Document the :shallow_path option for scope | Ryan Bigg | 2010-11-07 | 1 | -0/+19 | |
| | | ||||||
| * | Indent final comment for :path option | Ryan Bigg | 2010-11-07 | 1 | -1/+1 | |
| | | ||||||
| * | Indent code example for :as option | Ryan Bigg | 2010-11-07 | 1 | -3/+3 | |
| | | ||||||
| * | Document the :as option for the scope method | Ryan Bigg | 2010-11-07 | 1 | -0/+10 | |
| | | ||||||
| * | Space between module option documentation and path documentation | Ryan Bigg | 2010-11-07 | 1 | -0/+1 | |
| | | ||||||
| * | Fix indentation on comment for :path option | Ryan Bigg | 2010-11-07 | 1 | -1/+1 | |
| | | ||||||
| * | Document the :as option for the namespace method | Ryan Bigg | 2010-11-07 | 1 | -0/+8 | |
| | | ||||||
| * | Document the :module option for namespace | Ryan Bigg | 2010-11-07 | 1 | -0/+15 | |
| | | ||||||
| * | Document the :path option for namespace | Ryan Bigg | 2010-11-07 | 1 | -0/+11 | |
| | | ||||||
| * | Begin to document the namespace method for AD's Mapper | Ryan Bigg | 2010-11-07 | 1 | -0/+15 | |
| | | ||||||
| * | Document the controller method for AD's Mapper | Ryan Bigg | 2010-11-07 | 1 | -0/+6 | |
| | | ||||||
| * | Document the defaults method | Ryan Bigg | 2010-11-07 | 1 | -0/+5 | |
| | | ||||||
| * | Document the :module and :path options for the scope method. | Ryan Bigg | 2010-11-07 | 1 | -4/+13 | |
| | | ||||||
| * | Separate comments and examples with "Examples" header. | Ryan Bigg | 2010-11-07 | 1 | -0/+2 | |
| | | ||||||
| * | Fix where the documentation says "photos", but the example shows "posts" or ↵ | Ryan Bigg | 2010-11-07 | 1 | -4/+4 | |
| | | | | | | | | "comments" by switching both to simply "posts" | |||||
| * | Add further documentation + examples for the get, post, put and delete ↵ | Ryan Bigg | 2010-11-07 | 1 | -1/+21 | |
| | | | | | | | | methods in ActionDispatch::Routing::Mapper::HttpHelpers | |||||
* | | Add additional HTTP request methods from the following RFCs: | Andrew White | 2010-11-02 | 1 | -2/+3 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | * Hypertext Transfer Protocol -- HTTP/1.1 http://www.ietf.org/rfc/rfc2616.txt) * HTTP Extensions for Distributed Authoring -- WEBDAV http://www.ietf.org/rfc/rfc2518.txt * Versioning Extensions to WebDAV http://www.ietf.org/rfc/rfc3253.txt * Ordered Collections Protocol (WebDAV) http://www.ietf.org/rfc/rfc3648.txt * Web Distributed Authoring and Versioning (WebDAV) Access Control Protocol http://www.ietf.org/rfc/rfc3744.txt * Web Distributed Authoring and Versioning (WebDAV) SEARCH http://www.ietf.org/rfc/rfc5323.txt * PATCH Method for HTTP http://www.ietf.org/rfc/rfc5789.txt [#2809 state:resolved] [#5895 state:resolved] | |||||
* | Refactor resource action scope methods | Andrew White | 2010-10-08 | 1 | -38/+20 | |
| | ||||||
* | avoid method call to compact | Aaron Patterson | 2010-10-04 | 1 | -4/+4 | |
| | ||||||
* | Use .find here as it is simpler and faster. | José Valim | 2010-09-30 | 1 | -1/+1 | |
| | ||||||
* | avoid creating a block if possible | Aaron Patterson | 2010-09-29 | 1 | -2/+2 | |
| | ||||||
* | fixing regexp warnings | Aaron Patterson | 2010-09-29 | 1 | -1/+1 | |
| | ||||||
* | Don't try to interpolate string if there's no interpolation point at all. | Emilio Tagua | 2010-09-29 | 1 | -1/+1 | |
| | ||||||
* | Ensure that named routes do not overwrite previously defined routes. | José Valim | 2010-09-29 | 1 | -10/+13 | |
| | ||||||
* | Remove warning "too many arguments for format string" when interpolating ↵ | Emilio Tagua | 2010-09-27 | 1 | -1/+1 | |
| | | | | with empty hash. | |||||
* | Initialize @as before plural method is called. | Emilio Tagua | 2010-09-27 | 1 | -0/+1 | |
| | ||||||
* | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 1 | -9/+9 | |
| | ||||||
* | Raise ArgumentError instead of normalizing controller name when there is a ↵ | Andrew White | 2010-09-18 | 1 | -1/+5 | |
| | | | | leading slash [#5651 state:resolved] | |||||
* | Remove leading slash from controller [#5651 state:resolved] | Andrew White | 2010-09-18 | 1 | -1/+1 | |
| | ||||||
* | Remove a few tests from old router that do not make sense with the new one. | José Valim | 2010-09-05 | 1 | -21/+3 | |
| | ||||||
* | Ported missing functionality from Rails 2.3.x, raise error on wrong regexps ↵ | Piotr Sarnacki | 2010-09-05 | 1 | -0/+9 | |
| | | | | in :constraints in routes | |||||
* | raise error on invalid HTTP methods or :head passed with :via in routes | Piotr Sarnacki | 2010-09-05 | 1 | -0/+9 | |
| | ||||||
* | Implemented resources :foos, :except => :all option | Piotr Sarnacki | 2010-09-05 | 1 | -2/+11 | |
| | ||||||
* | Removed deprecated RouteSet API, still many tests fail | Piotr Sarnacki | 2010-09-05 | 1 | -6/+1 | |
| | ||||||
* | Implemented RouteSet#default_scope, which allows to set the scope for the ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -0/+6 | |
| | | | | entire routes object | |||||
* | Add Rails::Railtie.railtie_name method to allow setting custom name for railtie | Piotr Sarnacki | 2010-09-03 | 1 | -2/+7 | |
| | ||||||
* | Add mounted_helpers to routes | Piotr Sarnacki | 2010-09-03 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | mounted_helpers are a bit similar to url_helpers. They're automatically included in controllers for Rails.application and each of mounted Engines. Mounted helper allows to call url_for and named helpers for given application. Given Blog::Engine mounted as blog_engine, there are 2 helpers defined: app and blog_engine. You can call routes for app and engine using those helpers: app.root_url app.url_for(:controller => "foo") blog_engine.posts_path blog_engine.url_for(@post) | |||||
* | Routes refactoring: | Piotr Sarnacki | 2010-09-03 | 1 | -2/+1 | |
| | | | | | | | * added more tests for prefix generation * fixed bug with generating host for both prefix and url * refactored url_for method * organized tests for prefix generation | |||||
* | Allow to generate Application routes inside Engine | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 | |
| | | | | | | This requires knowledge about original SCRIPT_NAME and the parent router. It should be pass through the env as ORIGIAL_SCRIPT_NAME and action_dispatch.parent_routes | |||||
* | Use env['action_dispatch.routes'] to determine if we should generate prefix ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -0/+27 | |
| | | | | | | | | | | or not. This technique is here to allow using routes from Engine in Application and vice versa. When using Engine routes inside Application it should generate prefix based on mount point. When using Engine routes inside Engine it should use env['SCRIPT_NAME']. In any other case it should generate prefix as env should not be even available. | |||||
* | Move implicit nested call before options handling so that nested constraints ↵ | Andrew White | 2010-09-01 | 1 | -9/+7 | |
| | | | | | | work [#5513 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Expanded routing documentation with current best practices | Joost Baaij | 2010-08-29 | 1 | -0/+169 | |
| | ||||||
* | Use nested scope for routes defined at the :resources scope level (as in ↵ | Andrew White | 2010-08-24 | 1 | -5/+6 | |
| | | | | | | Rails 2.3) Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Allow format to be skipped. This is used internally by mount. | José Valim | 2010-08-24 | 1 | -2/+5 | |
| | ||||||
* | Finally fix the bug where symbols and strings were not having the same ↵ | José Valim | 2010-08-24 | 1 | -67/+46 | |
| | | | | | | | behavior in the router. If you were using symbols before for methods like match/get/post/put/delete, it is likely that this commit will break your routes. Everything should behave the same if you are using strings, if not, please open up a ticket. | |||||
* | Ensure shortcuts inside resources also generates helpers. | José Valim | 2010-08-24 | 1 | -48/+39 | |
| | ||||||
* | Fix how routes inside namespaces are generated. | José Valim | 2010-08-24 | 1 | -1/+1 | |
| | ||||||
* | Allow actions which start with A-Za-z_ only | Santiago Pastorino | 2010-08-24 | 1 | -1/+1 | |
| | ||||||
* | Ensure prefix in routes are generated properly. | José Valim | 2010-08-24 | 1 | -13/+10 | |
| | ||||||
* | Fix a bug where symbols and strings were not behaving the same in the ↵ | José Valim | 2010-08-24 | 1 | -9/+4 | |
| | | | | router. [#5431 state:resolved] |