diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2010-11-30 17:55:33 +0100 |
---|---|---|
committer | Josh Kalderimis <josh.kalderimis@gmail.com> | 2010-11-30 17:55:33 +0100 |
commit | 1e26bda0959c313ce5c1816bf4958b542050e5e2 (patch) | |
tree | de8e423622e9fed933b3ab7c11524ed6e1ac51ce /actionpack/CHANGELOG | |
parent | 0bda6f1ec664fcfd1b312492a6419e3d76d5baa7 (diff) | |
download | rails-1e26bda0959c313ce5c1816bf4958b542050e5e2.tar.gz rails-1e26bda0959c313ce5c1816bf4958b542050e5e2.tar.bz2 rails-1e26bda0959c313ce5c1816bf4958b542050e5e2.zip |
Added documentation explaining the new additional supported syntaxes for the routing redirect method, a small changelog note, and two extra tests for path interpolation when using the hash option syntax.
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 74d017cc3d..9b292cca69 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *Rails 3.1.0 (unreleased)* +* The redirect route method now also accepts a hash of options which will only change the parts of the url in question, or an object which responds to call, allowing for redirects to be reused (check the documentation for examples). [Josh Kalderimis] + * Added config.action_controller.include_all_helpers. By default 'helper :all' is done in ActionController::Base, which includes all the helpers by default. Setting include_all_helpers to false will result in including only application_helper and helper corresponding to controller (like foo_helper for foo_controller). [Piotr Sarnacki] * Added a convenience idiom to generate HTML5 data-* attributes in tag helpers from a :data hash of options: |