Browse Source

Merge pull request #41 from logistik-digital/40-migration-file-extension

Add file extension to ActiveRecord generator
master
Dmitrii Golub 10 years ago
parent
commit
f664f995ec
  1. 2
      lib/generators/active_record/two_factor_authentication_generator.rb

2
lib/generators/active_record/two_factor_authentication_generator.rb

@ -6,7 +6,7 @@ module ActiveRecord
source_root File.expand_path("../templates", __FILE__) source_root File.expand_path("../templates", __FILE__)
def copy_two_factor_authentication_migration def copy_two_factor_authentication_migration
migration_template "migration.rb", "db/migrate/two_factor_authentication_add_to_#{table_name}" migration_template "migration.rb", "db/migrate/two_factor_authentication_add_to_#{table_name}.rb"
end end
end end

Loading…
Cancel
Save