Module: Parlez::ViewMethods

Defined in:
lib/parlez.rb

Instance Method Summary collapse

Instance Method Details

#parlez_form_for(object, *args, &proc) ⇒ Object



14
15
16
17
# File 'lib/parlez.rb', line 14

def parlez_form_for(object, *args, &proc)
  options = args.extract_options!
  form_for(object, *(args << options.merge(:builder => Parlez::FormBuilder)), &proc)
end