未验证 提交 8dde2874 编写于 作者: R Rafael França 提交者: Rafael Mendonça França

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]
上级 c5b68fba
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册