Skip to content

Commit 64d8d24

Browse files
committed
Fix typo
1 parent efd557a commit 64d8d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/guides/source/api_app.textile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ An API application comes with the following middlewares by default.
117117
* +ActionDispatch::Reloader+: In development mode, support code reloading.
118118
* +ActionDispatch::ParamsParser+: Parse XML, YAML and JSON parameters when the request's +Content-Type+ is one of those.
119119
* +ActionDispatch::Head+: Dispatch +HEAD+ requests as +GET+ requests, and return only the status code and headers.
120-
* +Rack::ConditionalGet+: Supports the the +stale?+ feature in Rails controllers.
120+
* +Rack::ConditionalGet+: Supports the +stale?+ feature in Rails controllers.
121121
* +Rack::ETag+: Automatically set an +ETag+ on all string responses. This means that if the same response is returned from a controller for the same URL, the server will return a +304 Not Modified+, even if no additional caching steps are taken. This is primarily a client-side optimization; it reduces bandwidth costs but not server processing time.
122122

123123
Other plugins, including +ActiveRecord+, may add additional middlewares. In general, these middlewares are agnostic to the type of app you are building, and make sense in an API-only Rails application.

0 commit comments

Comments
 (0)