1
0
Fork 0
mirror of https://github.com/paper-trail-gem/paper_trail.git synced 2022-11-09 11:33:19 -05:00

Whitespace.

This commit is contained in:
Andy Stewart 2010-10-11 17:44:21 +01:00
parent cd923926d2
commit e934562477

View file

@ -3,13 +3,11 @@ require 'rails/generators/migration'
class PaperTrailGenerator < Rails::Generators::NamedBase
include Rails::Generators::Migration
desc "Generates (but does not run) a migration to add a versions table."
desc "Generates (but does not run) a migration to add a versions table."
source_root File.expand_path('../templates', __FILE__)
argument :name, :type => :string, :default => "create_versions"
# Implement the required interface for Rails::Generators::Migration.
# taken from http://github.com/rails/rails/blob/master/activerecord/lib/generators/active_record.rb
def self.next_migration_number(dirname)
@ -23,6 +21,4 @@ class PaperTrailGenerator < Rails::Generators::NamedBase
def create_migration_file
migration_template 'create_versions.rb', 'db/migrate/create_versions.rb'
end
end