aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorAgis Anastasopoulos <corestudiosinc@gmail.com>2012-11-15 14:10:17 +0200
committerAgis Anastasopoulos <corestudiosinc@gmail.com>2012-11-15 14:10:17 +0200
commitf76b64c04c89c2f1409fe6b84a5dffa5f83d8b5f (patch)
tree12c7581816bb0d4885f817130f19f2fc56757322 /guides/source
parent168f5b1cd70c211776f735a0f63c8c5c87105441 (diff)
downloadrails-f76b64c04c89c2f1409fe6b84a5dffa5f83d8b5f.tar.gz
rails-f76b64c04c89c2f1409fe6b84a5dffa5f83d8b5f.tar.bz2
rails-f76b64c04c89c2f1409fe6b84a5dffa5f83d8b5f.zip
Slightly improve the syntax & grammar
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/action_controller_overview.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/action_controller_overview.md b/guides/source/action_controller_overview.md
index 9a8441d5a2..b0e1a9aa34 100644
--- a/guides/source/action_controller_overview.md
+++ b/guides/source/action_controller_overview.md
@@ -826,7 +826,7 @@ NOTE: Certain exceptions are only rescuable from the `ApplicationController` cla
Force HTTPS protocol
--------------------
-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:
+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 the `force_ssl` method in your controller to enforce that:
```ruby
class DinnerController
@@ -834,7 +834,7 @@ class DinnerController
end
```
-Just like the filter, you could also passing `:only` and `:except` to enforce the secure connection only to specific actions.
+Just like the filter, you could also passing `:only` and `:except` to enforce the secure connection only to specific actions:
```ruby
class DinnerController
@@ -844,4 +844,4 @@ class DinnerController
end
```
-Please note that if you found yourself adding `force_ssl` to many controllers, you may found yourself wanting to force the whole application to use HTTPS instead. In that case, you can set the `config.force_ssl` in your environment file.
+Please note that if you find yourself adding `force_ssl` to many controllers, you may want to force the whole application to use HTTPS instead. In that case, you can set the `config.force_ssl` in your environment file.