mirror of
https://github.com/kbparagua/paloma
synced 2023-03-27 23:21:17 -04:00
Update README.md
This commit is contained in:
parent
849da797da
commit
d653a9d771
1 changed files with 6 additions and 0 deletions
|
@ -197,3 +197,9 @@ end
|
|||
A request for `first_action` will lead to 2 redirects until it reaches the `third_action` and renders a result on the browser. When the `third_action` renders its response, Paloma will execute the callbacks for all the 3 actions.
|
||||
|
||||
The order of execution will be `[controller]/first_action` first, then `[controller]/second_action`, and finally `[controller]/third_action`.
|
||||
|
||||
|
||||
Gotchas
|
||||
-
|
||||
* Callbacks will not be executed if the response is `js`, `json`, `xml` or any other format except `html`.
|
||||
This will not work: `render "something.js.erb"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue