Sha256: e1c895ee2515242294f5f962b51d3e36bee9f5cbafc5e63585672b7af02fc935
Contents?: true
Size: 406 Bytes
Versions: 9
Compression:
Stored size: 406 Bytes
Contents
require 'rails/generators/active_record' module ActiveRecord module Generators class TwoFactorAuthenticationGenerator < ActiveRecord::Generators::Base source_root File.expand_path("../templates", __FILE__) def copy_two_factor_authentication_migration migration_template "migration.rb", "db/migrate/two_factor_authentication_add_to_#{table_name}.rb" end end end end
Version data entries
9 entries across 9 versions & 2 rubygems