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:
commit
e39efdb87a
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue