aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/api_app.md
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-05-16 02:56:14 +0530
committerVipul A M <vipulnsward@gmail.com>2016-05-16 02:56:14 +0530
commite464b3cb3b32f968758f21549b17e4d0338e9dd0 (patch)
tree1d0569f4afe314db9bece4a2eb52b7ad6251dbc6 /guides/source/api_app.md
parent80b23fedfb6dddc1885cace126d5caae8d232564 (diff)
downloadrails-e464b3cb3b32f968758f21549b17e4d0338e9dd0.tar.gz
rails-e464b3cb3b32f968758f21549b17e4d0338e9dd0.tar.bz2
rails-e464b3cb3b32f968758f21549b17e4d0338e9dd0.zip
Pass over API Apps guide grammar. [ci skip]
Diffstat (limited to 'guides/source/api_app.md')
-rw-r--r--guides/source/api_app.md12
1 files changed, 5 insertions, 7 deletions
diff --git a/guides/source/api_app.md b/guides/source/api_app.md
index 9a0b3016c1..f373d313cc 100644
--- a/guides/source/api_app.md
+++ b/guides/source/api_app.md
@@ -340,7 +340,7 @@ API application, especially if one of your API clients is the browser:
- `Rack::MethodOverride`
- `ActionDispatch::Cookies`
- `ActionDispatch::Flash`
-- For sessions management
+- For session management
* `ActionDispatch::Session::CacheStore`
* `ActionDispatch::Session::CookieStore`
* `ActionDispatch::Session::MemCacheStore`
@@ -374,10 +374,8 @@ controller modules by default:
- `AbstractController::Rendering` and `ActionController::ApiRendering`: Basic support for rendering.
- `ActionController::Renderers::All`: Support for `render :json` and friends.
- `ActionController::ConditionalGet`: Support for `stale?`.
-- `ActionController::BasicImplicitRender`: Makes sure to return an empty response
- if there's not an explicit one.
-- `ActionController::StrongParameters`: Support for parameters white-listing in
- combination with Active Model mass assignment.
+- `ActionController::BasicImplicitRender`: Makes sure to return an empty response, if there isn't an explicit one.
+- `ActionController::StrongParameters`: Support for parameters white-listing in combination with Active Model mass assignment.
- `ActionController::ForceSSL`: Support for `force_ssl`.
- `ActionController::DataStreaming`: Support for `send_file` and `send_data`.
- `AbstractController::Callbacks`: Support for `before_action` and
@@ -387,8 +385,8 @@ controller modules by default:
hooks defined by Action Controller (see [the instrumentation
guide](active_support_instrumentation.html#action-controller) for
more information regarding this).
-- `ActionController::ParamsWrapper`: Wraps the parameters hash into a nested hash
- so you don't have to specify root elements sending POST requests for instance.
+- `ActionController::ParamsWrapper`: Wraps the parameters hash into a nested hash,
+ so that you don't have to specify root elements sending POST requests for instance.
Other plugins may add additional modules. You can get a list of all modules
included into `ActionController::API` in the rails console: