Update README.md
This commit is contained in:
parent
232ad0a2ba
commit
b77cf2e3bc
|
@ -82,7 +82,7 @@ route do |r|
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
With `proxy_when` the first optional parameter expects a truthy value or a block / lambda that returns a truthy value. This must be equivalent to `true` for the proxying to occur. The optional probability is a float between 0 and 1 indicating the probability that proxying will happen. Both paramters can be used alone or in isolation.
|
With `proxy_when` the first optional parameter expects a truthy value or a block / lambda that returns a truthy value. This must be equivalent to `true` for the proxying to occur. The optional probability is a float between 0 and 1 indicating the probability that proxying will happen. Both parameters can be used alone or in isolation.
|
||||||
|
|
||||||
If and only if proxying does not occur will the block be evaluated and return to Roda for rendering.
|
If and only if proxying does not occur will the block be evaluated and return to Roda for rendering.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue