Sha256: 262d1594167cc0cd211f79381d4fec5eb1633626e547c6f61211c96e92e960fb
Contents?: true
Size: 304 Bytes
Versions: 7
Compression:
Stored size: 304 Bytes
Contents
module EasyCaptcha # captcha controller # get :captcha => EasyCaptcha::Controller class Controller < ActionController::Base # captcha action send the generated image to browser def captcha send_data generate_captcha, :disposition => 'inline', :type => 'image/png' end end end
Version data entries
7 entries across 7 versions & 1 rubygems