diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2012-02-23 13:34:44 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2012-02-23 13:35:15 +0000 |
commit | 5093915aaea497f6da32243bb22839cad7d20a8e (patch) | |
tree | d19423669eb8142655b0e9eb2305b816c7943f7d /actionpack | |
parent | 68a977e49757c404cea14ee1c92cb5893f458eaf (diff) | |
download | rails-5093915aaea497f6da32243bb22839cad7d20a8e.tar.gz rails-5093915aaea497f6da32243bb22839cad7d20a8e.tar.bz2 rails-5093915aaea497f6da32243bb22839cad7d20a8e.zip |
Document the :host option for force_ssl
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/metal/force_ssl.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/force_ssl.rb b/actionpack/lib/action_controller/metal/force_ssl.rb index 6feec9262c..a1e40fc4e0 100644 --- a/actionpack/lib/action_controller/metal/force_ssl.rb +++ b/actionpack/lib/action_controller/metal/force_ssl.rb @@ -30,6 +30,7 @@ module ActionController # end # # ==== Options + # * <tt>host</tt> - Redirect to a different host name # * <tt>only</tt> - The callback should be run only for this action # * <tt>except<tt> - The callback should be run for all actions except this action # * <tt>if</tt> - A symbol naming an instance method or a proc; the callback |