aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/redirection.rb
Commit message (Collapse)AuthorAgeFilesLines
* Restore interpolation of path option in redirect routesAndrew White2012-04-291-0/+10
|
* Add missing require from b608cdd64c95d0d16eb98d86562e22f3b01be9e3Andrew White2012-04-291-0/+1
|
* Escape interpolated params when redirecting - fixes #5688Andrew White2012-04-291-1/+6
|
* Fix the redirect when it receive blocks with arity of 1.Rafael Mendonça França2012-03-311-1/+2
| | | | Closes #5677
* Revert "make sure to require the right deprecation warning file"Aaron Patterson2011-11-181-1/+0
| | | | This reverts commit 9d725e3df502a07222f35576108eb2df2bd88259.
* Refactoring the redirect method for the router api.Aaron Patterson2011-11-181-25/+19
|
* moving redirection to objectsAaron Patterson2011-11-181-45/+58
|
* remove the :path feature to redirects, since it cannot workAaron Patterson2011-11-181-15/+7
|
* make sure to require the right deprecation warning fileAaron Patterson2011-11-181-0/+1
|
* arity check has been pushed up, so no need for proc wrappingAaron Patterson2011-11-181-1/+1
|
* require that all blocks have arity of 2Aaron Patterson2011-11-181-5/+10
|
* Added documentation explaining the new additional supported syntaxes for the ↵Josh Kalderimis2010-11-301-0/+29
| | | | routing redirect method, a small changelog note, and two extra tests for path interpolation when using the hash option syntax.
* The redirect routing method now allows for a hash of options which only ↵Josh Kalderimis2010-11-301-0/+81
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.