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
1 changed files with 1 additions and 1 deletions

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.