Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e8c9a88809
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (6 sloc) 0.306 kB
# Include hook code here
require 'clearcaptcha/rails'
unless File.exists? config_file = File.join(RAILS_ROOT, 'config', 'clearcaptcha.yml')
config_file = File.join(File.dirname(__FILE__),'defaults', 'clearcaptcha.yml.default')
end
Clearcaptcha.config = YAML.load(ERB.new(IO.read(config_file)).result)
Jump to Line
Something went wrong with that request. Please try again.