Sha256: 29c095edc0afc62d599f27a73586b3179e228285b6f8e9c32c53255977ed5895

Contents?: true

Size: 303 Bytes

Versions: 3

Compression:

Stored size: 303 Bytes

Contents

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

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
comfy_carousel-0.0.3 app/helpers/carousel/application_helper.rb
comfy_carousel-0.0.2 app/helpers/carousel/application_helper.rb
comfy_carousel-0.0.1 app/helpers/carousel/application_helper.rb