- 02 5月, 2012 1 次提交
-
-
由 Bogdan Gusiev 提交于
-
- 25 4月, 2012 1 次提交
-
-
由 Jose and Yehuda 提交于
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
-
- 04 3月, 2012 1 次提交
-
-
由 Brian Cardarella 提交于
Allow the root route helper to accept just a string
-
- 02 3月, 2012 1 次提交
-
-
- 26 2月, 2012 1 次提交
-
-
由 Andrew White 提交于
-
- 23 2月, 2012 1 次提交
-
-
由 David Lee 提交于
PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
-
- 15 2月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 12 2月, 2012 1 次提交
-
-
由 Thiago Pradi 提交于
-
- 24 1月, 2012 2 次提交
-
-
由 Aaron Patterson 提交于
symbol nodes. Fixes #4585
-
由 Aaron Patterson 提交于
-
- 17 1月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 06 1月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 25 12月, 2011 1 次提交
-
-
由 Sergey Nartimov 提交于
-
- 23 12月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 22 12月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 23 12月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 22 12月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 20 12月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 05 12月, 2011 1 次提交
-
-
由 Andy Jeffries 提交于
Named Routes shouldn't override existing ones (currently route recognition goes with the earliest match, named routes use the latest match)
-
- 30 11月, 2011 1 次提交
-
-
由 lest 提交于
-
- 28 11月, 2011 1 次提交
-
-
由 karevn 提交于
-
- 14 8月, 2011 1 次提交
-
-
由 Vishnu Atrai 提交于
-
- 13 8月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 01 8月, 2011 1 次提交
-
-
由 Vishnu Atrai 提交于
-
- 03 5月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
raise an error if the old router draw method is used, along with a message advising them to either upgrade their routes or add rails_legacy_mapper to their Gemfile
-
- 05 3月, 2011 1 次提交
-
-
由 R.T. Lechow 提交于
-
- 04 3月, 2011 1 次提交
-
-
由 R.T. Lechow 提交于
-
- 08 2月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 30 11月, 2010 1 次提交
-
-
由 Josh Kalderimis 提交于
The redirect routing method now allows for a hash of options which only changes the relevant parts of the url, or an object which responds to call can be supplied so common redirect rules can be easily reused. This commit includes a change where url generation from parts has been moved to AD::Http::URL as a class method.
-
- 19 11月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd8 and 1ee9b40b..
-
- 17 11月, 2010 1 次提交
-
-
由 Carl Lerche 提交于
-
- 26 9月, 2010 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
-
- 05 9月, 2010 6 次提交
-
-
由 José Valim 提交于
-
由 Piotr Sarnacki 提交于
Deleted test with extended regexp - it fails with no reason, probably rack-mount is doing something weird with that regexp
-
由 Łukasz Strzałkowski 提交于
They were broken after rebase/merge
-
由 Łukasz Strzałkowski 提交于
If we want to have this - we have to change Rack::Mount source
-
由 Łukasz Strzałkowski 提交于
I've removed assertions with @routes.generate(:use_route => ...). I'm not 100% sure if not supporting :use_route in new router is intentional or it should rather be supported and backported from 2.3.x.
-
由 Łukasz Strzałkowski 提交于
If it's unused there's no reason to keep it commented. It will always remain in git history, so removing it.
-