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