1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #36879 from akshaymohite/fix-cache-store-in-documentation-example

Fixed cache_store name used in adding other modules section of api app documentation guide. [ci skip]
This commit is contained in:
Rafael França 2019-08-07 11:21:56 -04:00 committed by GitHub
commit e39efdb87a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -425,7 +425,7 @@ Some common modules you might want to add:
```ruby
class ApplicationController < ActionController::API
include ::ActionController::Caching
self.cache_store = :mem_cached_store
self.cache_store = :mem_cache_store
end
```
Rails does *not* pass this configuration automatically.