Sha256: 6845aae879a9c3f3935895625fed6659a9a6470fe2b8c59eacaaf6013de82222

Contents?: true

Size: 419 Bytes

Versions: 10

Compression:

Stored size: 419 Bytes

Contents

require 'bricks/captcha'
Zena.use Bricks::Captcha

# TODO change 'asset_method' to Zena::Use.zazen_tag 'email' => :zazen_email
Zena::Use::Zazen::ViewMethods.asset_method 'email' => :email_asset

# set public and private keys
properties = %w{recaptcha_pub recaptcha_priv mail_hide_pub mail_hide_priv}
Site.property.string properties
Site.attributes_for_form[:text] += properties
Site.send(:attr_accessible, *properties)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
zena-1.2.4 bricks/captcha/zena/init.rb
zena-1.2.3 bricks/captcha/zena/init.rb
zena-1.2.2 bricks/captcha/zena/init.rb
zena-1.2.1 bricks/captcha/zena/init.rb
zena-1.2.0 bricks/captcha/zena/init.rb
zena-1.1.3 bricks/captcha/zena/init.rb
zena-1.1.2 bricks/captcha/zena/init.rb
zena-1.1.1 bricks/captcha/zena/init.rb
zena-1.1.0 bricks/captcha/zena/init.rb
zena-1.0.0 bricks/captcha/zena/init.rb