Sha256: 8da738ee5bbcbe95b57d6d0f8d15d028c254e43a57eb3d1d1ee384a24100891b
Contents?: true
Size: 363 Bytes
Versions: 3
Compression:
Stored size: 363 Bytes
Contents
require 'rails/generators' class VisualCaptchaGenerator < Rails::Generators::Base include Rails::Generators::Migration def self.source_root @source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates/')) end def create_partial template "partial.erb", File.join('app/views', 'visual_captcha', "_visual_captcha.erb") end end
Version data entries
3 entries across 3 versions & 1 rubygems