aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
diff options
context:
space:
mode:
authorJeremy Friesen <jeremy.n.friesen@gmail.com>2012-05-31 10:06:17 -0400
committerJeremy Friesen <jeremy.n.friesen@gmail.com>2012-05-31 12:39:28 -0400
commit4791822368bf0b1238a096c353cd408c6f1fe8c4 (patch)
tree01cc7c11038ad05b7a62afb8fb75a5d946ccb775 /actionpack/CHANGELOG.md
parentc51fb024063b5369a8d99b8c6e582feaf6c5a366 (diff)
downloadrails-4791822368bf0b1238a096c353cd408c6f1fe8c4.tar.gz
rails-4791822368bf0b1238a096c353cd408c6f1fe8c4.tar.bz2
rails-4791822368bf0b1238a096c353cd408c6f1fe8c4.zip
Extracted redirect logic from ActionController::Force::ClassMethods.force_ssl
Prior to this patch the existing .force_ssl method handles both defining the filter and handling the logic for performing the redirect. With this patch the logic for redirecting to the HTTPS protocol is separated from the filter logic that determines if a redirect should occur. By separating the two levels of behavior, an instance method for ActionController (i.e. #force_ssl_redirect) is exposed and available for more granular SSL enforcement. Cleaned up indentation.
Diffstat (limited to 'actionpack/CHANGELOG.md')
-rw-r--r--actionpack/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md
index b907eea3c1..b4d50b7072 100644
--- a/actionpack/CHANGELOG.md
+++ b/actionpack/CHANGELOG.md
@@ -1,5 +1,9 @@
## Rails 4.0.0 (unreleased) ##
+* Extracted redirect logic from `ActionController::ForceSSL::ClassMethods.force_ssl` into `ActionController::ForceSSL#force_ssl_redirect`
+
+ *Jeremy Friesen*
+
* Make possible to use a block in button_to helper if button text is hard
to fit into the name parameter, e.g.: