Module: ActionFlow::Helper
- Defined in:
- lib/action_flow.rb
Instance Method Summary collapse
- #flow_form_tag(options = {}, html_options = {}, *args, &block) ⇒ Object
- #flow_link_to(name, options = {}, html_options = {}) ⇒ Object
Instance Method Details
#flow_form_tag(options = {}, html_options = {}, *args, &block) ⇒ Object
39 40 41 42 43 |
# File 'lib/action_flow.rb', line 39 def flow_form_tag( = {}, = {}, *args, &block) .merge!() .merge!(:method => :post) form_tag(, , *args, &block) end |
#flow_link_to(name, options = {}, html_options = {}) ⇒ Object
33 34 35 36 37 |
# File 'lib/action_flow.rb', line 33 def flow_link_to(name, = {}, = {}) .merge!() .merge!(:post => true) link_to(name, , ) end |