with_action 1.0.0
A respond_to style helper for doing different actions based on which request parameters are passed. Specifically, it is helpful if you want to use multiple form buttons on a page, such as "Save", "Save and Continue Editing", and "Cancel". with_action executes different blocks based on what the presence of request parameters.
Gemfile:
=
install:
=
Versions:
- 1.0.0 October 26, 2010 (7 KB)
Runtime Dependencies (1):
actionpack
>= 0