mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update caching_with_rails.md [ci skip]
Highlight methods
This commit is contained in:
parent
f0249bc578
commit
4b9d22e959
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ class ProductsController < ApplicationController
|
|||
end
|
||||
```
|
||||
|
||||
If you don't have any special response processing and are using the default rendering mechanism (i.e. you're not using respond_to or calling render yourself) then you've got an easy helper in fresh_when:
|
||||
If you don't have any special response processing and are using the default rendering mechanism (i.e. you're not using `respond_to` or calling render yourself) then you've got an easy helper in `fresh_when`:
|
||||
|
||||
```ruby
|
||||
class ProductsController < ApplicationController
|
||||
|
|
Loading…
Reference in a new issue