Module: ActionFlow::Helper

Defined in:
lib/action_flow.rb

Instance Method Summary collapse

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(options = {}, html_options = {}, *args, &block)
  options.merge!(flow_options)
  html_options.merge!(:method => :post)
  form_tag(options, html_options, *args, &block)
end


33
34
35
36
37
# File 'lib/action_flow.rb', line 33

def flow_link_to(name, options = {}, html_options = {})
  options.merge!(flow_options)
  html_options.merge!(:post => true)
  link_to(name, options, html_options)
end