aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gems/recaptcha-0.3.1/lib/recaptcha/rails.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2011-02-23 14:06:21 +0000
committerLouise Crow <louise.crow@gmail.com>2011-02-23 14:06:21 +0000
commit5dbf3a24e23114077052ceff36be49a3aaf46182 (patch)
treeef9d5369f89f87516b31ef4dcf80781445052ab5 /vendor/gems/recaptcha-0.3.1/lib/recaptcha/rails.rb
parent4cd0de91754f07afd0afb58d137b3adcf5a07611 (diff)
Replacing old recaptcha plugin with more recent gem.
Diffstat (limited to 'vendor/gems/recaptcha-0.3.1/lib/recaptcha/rails.rb')
-rw-r--r--vendor/gems/recaptcha-0.3.1/lib/recaptcha/rails.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/gems/recaptcha-0.3.1/lib/recaptcha/rails.rb b/vendor/gems/recaptcha-0.3.1/lib/recaptcha/rails.rb
new file mode 100644
index 000000000..08741cfd2
--- /dev/null
+++ b/vendor/gems/recaptcha-0.3.1/lib/recaptcha/rails.rb
@@ -0,0 +1,4 @@
+require 'recaptcha'
+
+ActionView::Base.send(:include, Recaptcha::ClientHelper)
+ActionController::Base.send(:include, Recaptcha::Verify) \ No newline at end of file