Sha256: a77cbaaf246aea5144fce79aa3413e894be4d06b64542d18bb72008ba953cae7
Contents?: true
Size: 392 Bytes
Versions: 4
Compression:
Stored size: 392 Bytes
Contents
require 'rails/generators' class SimpleCaptchaGenerator < 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', 'simple_captcha', "_simple_captcha.erb") end end
Version data entries
4 entries across 4 versions & 2 rubygems