Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove call to build_request | Aaron Patterson | 2015-07-08 | 1 | -1/+0 |
| | |||||
* | let the superclass build the request and response | Aaron Patterson | 2015-07-08 | 1 | -2/+2 |
| | | | | | We should leverage the request / response objects that the superclass has already allocated for us. | ||||
* | this test is not a controller test, so switch to AS::TC | Aaron Patterson | 2012-07-28 | 1 | -1/+1 |
| | |||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | / is allowed in URI fragments | Jeremy Kemper | 2011-10-13 | 1 | -2/+2 |
| | |||||
* | Removed deprecated RouteSet API, still many tests fail | Piotr Sarnacki | 2010-09-05 | 1 | -0/+5 |
| | |||||
* | Consistent routing language | Joshua Peek | 2010-03-30 | 1 | -14/+14 |
| | |||||
* | RouteSet#rewrite => url_for | Joshua Peek | 2010-03-09 | 1 | -1/+1 |
| | |||||
* | Move AC::UrlRewriter onto route set | Joshua Peek | 2010-03-09 | 1 | -4/+1 |
| | |||||
* | Get rid of the instance-level URL rewriter | wycats | 2010-03-09 | 1 | -29/+15 |
| | |||||
* | WIP: Remove the global router | Carlhuda | 2010-02-25 | 1 | -16/+16 |
| | |||||
* | Remove duplicated url_for code and move methods shared between ActionMailer ↵ | José Valim | 2010-01-07 | 1 | -265/+0 |
| | | | | and ActionController up to AbstractController. | ||||
* | Remove deprecated formatted named routes | José Valim | 2010-01-04 | 1 | -18/+0 |
| | |||||
* | More test porting | Joshua Peek | 2009-12-08 | 1 | -3/+3 |
| | |||||
* | Use new routing dsl in tests | Joshua Peek | 2009-12-08 | 1 | -2/+2 |
| | |||||
* | Start rewriting some internal tests to use the new routing dsl | Joshua Peek | 2009-10-20 | 1 | -5/+3 |
| | |||||
* | Fix brittle query string comparisons | Joshua Peek | 2009-10-17 | 1 | -5/+5 |
| | |||||
* | Add fake controllers for url rewriter tests | Joshua Peek | 2009-09-06 | 1 | -0/+1 |
| | |||||
* | UrlRewriter#rewrite_url should call #to_param on the value given in :anchor ↵ | Jeffrey Hardy | 2009-08-26 | 1 | -0/+26 |
| | | | | | | | | option, just as #url_for does [#2746 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Cleanup route reloading in tests. Prefer with_routing over using ↵ | Joshua Peek | 2009-08-16 | 1 | -70/+71 |
| | | | | ActionController::Routing::Routes directly | ||||
* | Deprecate router generation "best match" sorting | Joshua Peek | 2009-08-09 | 1 | -3/+3 |
| | |||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -1/+1 |
| | | | | [#1617 state:resolved] | ||||
* | Ensure that when UrlWriter is included in multiple classes, the ↵ | Nathan de Vries | 2009-01-28 | 1 | -1/+16 |
| | | | | | | default_url_options of one don't affect the other. [#1277 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix routing test and add changelog note about draw no longer clearing the ↵ | David Heinemeier Hansson | 2008-11-26 | 1 | -0/+1 |
| | | | | route set | ||||
* | Added optimal formatted routes to rails, deprecating the formatted_* ↵ | Aaron Batalion | 2008-11-26 | 1 | -0/+35 |
| | | | | | | methods, and reducing routes creation by 50% [#1359 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -3/+2 |
| | |||||
* | AbstractRequest.relative_url_root is no longer automatically configured by a ↵ | Joshua Peek | 2008-07-24 | 1 | -28/+27 |
| | | | | HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root | ||||
* | Add :trailing_slash option to UrlWriter. Closes #9117 [juanjo.bazan] | Michael Koziarski | 2008-02-18 | 1 | -0/+34 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | UrlWriter respects relative_url_root. Closes #10748. | Jeremy Kemper | 2008-01-10 | 1 | -4/+34 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix url_for, redirect_to, etc. with :controller => :symbol instead of ↵ | Jeremy Kemper | 2007-10-07 | 1 | -0/+4 |
| | | | | | | 'string'. Closes #8562, #9525. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Disable optimisation code for UrlWriter as request.host doesn't make sense ↵ | Michael Koziarski | 2007-09-17 | 1 | -0/+4 |
| | | | | | | | | | there. Don't try to use the .to_query method when the route has no dynamic segments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Make :trailing_slash work with query parameters for url_for. Closes #4004 [nov] | Michael Koziarski | 2007-07-14 | 1 | -0/+10 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve UrlRewriter tests. Improve helper test coverage. Closes #7207, ↵ | Jeremy Kemper | 2007-06-13 | 1 | -0/+10 |
| | | | | | | #7208, #7212. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update UrlWriter to accept :anchor parameter. Closes #6771. | Nicholas Seckar | 2007-05-02 | 1 | -0/+13 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adjust test for unsorted Array#to_query. References #7756. | Jeremy Kemper | 2007-03-11 | 1 | -2/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Allow array and hash query parameters. Array route parameters are ↵ | Jeremy Kemper | 2007-03-06 | 1 | -10/+51 |
| | | | | | | converted/to/a/path as before. References #6765, #7462. Closes #7047. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added URL escaping of user and password when used through the UrlWriter | David Heinemeier Hansson | 2007-03-04 | 1 | -1/+8 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6314 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added user/password options for url_for to add http authentication in a URL ↵ | David Heinemeier Hansson | 2007-03-03 | 1 | -0/+7 |
| | | | | | | [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6302 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added :port and :host handling to UrlRewriter (which unified url_for usage, ↵ | David Heinemeier Hansson | 2007-02-25 | 1 | -0/+26 |
| | | | | | | regardless of whether it's called in view or controller) #7616 [alancfrancis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix doubly appearing parameters due to string and symbol mixups. Closes #2551. | Nicholas Seckar | 2007-01-28 | 1 | -0/+9 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update Routing to complain when :controller is not specified by a route. ↵ | Nicholas Seckar | 2006-11-22 | 1 | -2/+2 |
| | | | | | | Closes #6669. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Update UrlWriter to support :only_path. | Nicholas Seckar | 2006-09-06 | 1 | -2/+24 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | More deprecation fun | David Heinemeier Hansson | 2006-09-03 | 1 | -1/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add UrlWriter to allow writing urls from Mailers and scripts. | Nicholas Seckar | 2006-08-24 | 1 | -0/+65 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | New routes implementation. Simpler, faster, easier to understand. The ↵ | Jamis Buck | 2006-06-01 | 1 | -17/+0 |
| | | | | | | published API for config/routes.rb is unchanged, but nearly everything else is different, so expect breakage in plugins and libs that try to fiddle with routes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Included UrlRewriter tests in rake run and made them not depend on Hash order | David Heinemeier Hansson | 2005-09-15 | 1 | -0/+46 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |