lib/generators/i18nline/install_generator.rb in i18nline-0.0.2.alpha vs lib/generators/i18nline/install_generator.rb in i18nline-0.0.3.alpha
- old
+ new
@@ -5,8 +5,12 @@
source_root File.expand_path('../templates', __FILE__)
def copy_config
template "config/initializers/i18nline.rb"
end
+
+ def create_migrations
+ migration_template 'migrations/create_i18nline_translations.rb', 'db/migrate/create_i18nline_translations.rb'
+ end
end
end
end