Sha256: 191d4bba95e05f7bbfedf1f41a26a0608063e82c1af140cb7d795b8e990da58b

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

module Gallery::ApplicationHelper
  
  def comfy_gallery_form_for(record_or_name_or_array, *args, &proc)
    options = args.extract_options!
    form_for(
      record_or_name_or_array,
      *(args << options.merge(:builder => ComfyGallery.config.form_builder.to_s.constantize)),
      &proc
    )
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
comfy_gallery-0.1.3 app/helpers/gallery/application_helper.rb
comfy_gallery-0.1.2 app/helpers/gallery/application_helper.rb