Module: RmagickCaptcha::ViewAdditions
- Defined in:
- lib/rmagick_captcha/view_additions.rb
Instance Method Summary collapse
Instance Method Details
#rmagick_captcha_tag(options = {}) ⇒ Object
3 4 5 6 7 |
# File 'lib/rmagick_captcha/view_additions.rb', line 3 def rmagick_captcha_tag( = {}) = ::RmagickCaptcha..merge() path = url_for(controller: "/#{[:controller]}", action: [:action], id: [:id]) image_tag(path) end |