aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing
Commit message (Collapse)AuthorAgeFilesLines
* :subdomain, :domain and :tld_length options can now be used in url_for, ↵Josh Kalderimis2010-11-232-6/+38
| | | | | | allowing for easy manipulation of the host during link generation. Signed-off-by: José Valim <jose.valim@gmail.com>
* Anchors should be allowed on constraints that are not on path segmentsCarl Lerche2010-11-161-9/+12
|
* rejecting blank stringsAaron Patterson2010-11-151-2/+2
|
* reduce method callsAaron Patterson2010-11-151-4/+4
|
* make sure we are only doing sanity checking against regular expressionsAaron Patterson2010-11-151-1/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2010-11-151-9/+212
|\
| * Document the constraints methodRyan Bigg2010-11-141-1/+55
| |
| * Add documentation for :path_names option on resourcesRyan Bigg2010-11-131-0/+8
| |
| * See the scope method for documentation for namespace's shallow_path optionRyan Bigg2010-11-131-0/+3
| |
| * Add documentation for the mount method in ActionDispatch's MapperRyan Bigg2010-11-131-0/+17
| |
| * Fix indentation for :as option documentation on the namespace methodRyan Bigg2010-11-071-4/+4
| |
| * Document the :shallow_path option for scopeRyan Bigg2010-11-071-0/+19
| |
| * Indent final comment for :path optionRyan Bigg2010-11-071-1/+1
| |
| * Indent code example for :as optionRyan Bigg2010-11-071-3/+3
| |
| * Document the :as option for the scope methodRyan Bigg2010-11-071-0/+10
| |
| * Space between module option documentation and path documentationRyan Bigg2010-11-071-0/+1
| |
| * Fix indentation on comment for :path optionRyan Bigg2010-11-071-1/+1
| |
| * Document the :as option for the namespace methodRyan Bigg2010-11-071-0/+8
| |
| * Document the :module option for namespaceRyan Bigg2010-11-071-0/+15
| |
| * Document the :path option for namespaceRyan Bigg2010-11-071-0/+11
| |
| * Begin to document the namespace method for AD's MapperRyan Bigg2010-11-071-0/+15
| |
| * Document the controller method for AD's MapperRyan Bigg2010-11-071-0/+6
| |
| * Document the defaults methodRyan Bigg2010-11-071-0/+5
| |
| * Document the :module and :path options for the scope method.Ryan Bigg2010-11-071-4/+13
| |
| * Separate comments and examples with "Examples" header.Ryan Bigg2010-11-071-0/+2
| |
| * Fix where the documentation says "photos", but the example shows "posts" or ↵Ryan Bigg2010-11-071-4/+4
| | | | | | | | "comments" by switching both to simply "posts"
| * Add further documentation + examples for the get, post, put and delete ↵Ryan Bigg2010-11-071-1/+21
| | | | | | | | methods in ActionDispatch::Routing::Mapper::HttpHelpers
* | Strip regexp anchors from rake routes output [#5934 state:resolved]Andrew White2010-11-091-1/+2
| |
* | Add additional HTTP request methods from the following RFCs:Andrew White2010-11-021-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 methodsAndrew White2010-10-081-38/+20
|
* avoid method call to compactAaron Patterson2010-10-041-4/+4
|
* Properly reload routes defined in class definitionPiotr Sarnacki2010-09-301-0/+1
| | | | | | | | | | | | | | | | | Sometimes it's easier to define routes inside Engine or Application class definition (e.g. one file applications). The problem with such case is that if there is a plugin that has config/routes.rb file, it will trigger routes reload on application. Since routes definition for application is not in config/routes.rb file routes_reloader will fail to reload application's routes properly. With this commit you can pass routes definition as a block to routes method, which will allow to properly reload it: class MyApp::Application < Rails::Application routes do resources :users end end
* Allow mounting engines at '/'Piotr Sarnacki2010-09-301-1/+1
| | | | | Without that commit script_name always become '/', which results in paths like //posts/1 instead of /posts/1
* Use .find here as it is simpler and faster.José Valim2010-09-301-1/+1
|
* avoid creating a block if possibleAaron Patterson2010-09-291-2/+2
|
* fixing regexp warningsAaron Patterson2010-09-291-1/+1
|
* Don't try to interpolate string if there's no interpolation point at all.Emilio Tagua2010-09-291-1/+1
|
* Ensure that named routes do not overwrite previously defined routes.José Valim2010-09-291-10/+13
|
* Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵José Valim2010-09-291-1/+5
| | | | everyone calls super as expected.
* Merge remote branch 'miloops/warnings'José Valim2010-09-292-1/+2
|\
| * Use redefine_method instead define_method, it may be already defined.Emilio Tagua2010-09-281-1/+1
| |
| * Remove more warnings on variables.Emilio Tagua2010-09-281-0/+1
| |
| * Move uri parser to AS as URI.parser method to reuse it in AP and ARes.Emilio Tagua2010-09-271-8/+2
| |
* | Move uri parser to AS as URI.parser method to reuse it in AP and ARes.Emilio Tagua2010-09-281-8/+2
| |
* | Fix tests on 1.9.2.José Valim2010-09-281-5/+0
| |
* | Properly initialize variables inside the initialize method.José Valim2010-09-271-3/+8
|/
* Define @_routes inside method, makes more sense and will be initialized when ↵Emilio Tagua2010-09-272-2/+1
| | | | | | called anywhere. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Remove warning "URI.unescape is obsolete" from actionpack.Emilio Tagua2010-09-271-4/+2
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge remote branch 'miloops/warnings'José Valim2010-09-273-12/+24
|\ | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/url_for.rb
| * Initialize @_routes if it doesn't exists.Emilio Tagua2010-09-271-0/+1
| |