Sha256: f80e41bbb1de05f92b4f12bf729c475a8f4cdad198aa21e4ecd5081d51713482

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

module RmagickCaptcha
  module ViewAdditions
    def rmagick_captcha_tag(options = {})
      options = ::RmagickCaptcha.options.merge(options)
      path = url_for(controller: "/#{options[:controller]}", action: options[:action], id: options[:id])
      image_tag(path)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rmagick_captcha-0.6.4 lib/rmagick_captcha/view_additions.rb