mirror of https://github.com/rails/rails
security reasonS should be plural
This commit is contained in:
parent
b7cccae71e
commit
dadfa1e34f
|
@ -796,7 +796,7 @@ NOTE: Certain exceptions are only rescuable from the +ApplicationController+ cla
|
|||
|
||||
h3. Force HTTPS protocol
|
||||
|
||||
Sometime you might want to force a particular controller to only be accessible via an HTTPS protocol for security reason. Since Rails 3.1 you can now use +force_ssl+ method in your controller to enforce that:
|
||||
Sometime you might want to force a particular controller to only be accessible via an HTTPS protocol for security reasons. Since Rails 3.1 you can now use +force_ssl+ method in your controller to enforce that:
|
||||
|
||||
<ruby>
|
||||
class DinnerController
|
||||
|
|
Loading…
Reference in New Issue