Skip to content

Commit f77c23e

Browse files
Add missing extension to migration_template argument
1 parent 74a280a commit f77c23e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/generators/acts_as_commentable_upgrade_migration/acts_as_commentable_upgrade_migration_generator.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def self.next_migration_number(dirname)
1313
end
1414

1515
def manifest
16-
migration_template 'migration.rb', 'db/migrate/acts_as_commentable_upgrade_migration'
16+
migration_template 'migration.rb', 'db/migrate/acts_as_commentable_upgrade_migration.rb'
1717
copy_file 'comment.rb', 'app/models/comment.rb'
1818
end
1919
end

lib/generators/acts_as_commentable_with_threading_migration/acts_as_commentable_with_threading_migration_generator.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def self.next_migration_number(dirname)
1313
end
1414

1515
def manifest
16-
migration_template 'migration.rb', 'db/migrate/acts_as_commentable_with_threading_migration'
16+
migration_template 'migration.rb', 'db/migrate/acts_as_commentable_with_threading_migration.rb'
1717
copy_file 'comment.rb', 'app/models/comment.rb'
1818
end
1919
end

0 commit comments

Comments
 (0)