Sha256: 866cf417cbc4eb59f0b7df6455f49439eddb25c1c684f3ef4cfd9912de596dd7

Contents?: true

Size: 397 Bytes

Versions: 7

Compression:

Stored size: 397 Bytes

Contents

require 'rails/generators'
require 'rails/generators/migration'

class DevapeCmsGenerator < Rails::Generators::Base
  include Rails::Generators::Migration
  source_root File.expand_path("../templates", __FILE__)
  def copy_initializer_file
    copy_file "migration.rb", "db/migrate/0000000001_migrate_devape_cms.rb"
    copy_file "devape_cms.js", "app/assets/javascripts/devape_cms.js"
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devape_cms-0.1.1 lib/rails/generators/devape_cms/devape_cms_generator.rb
devape_cms-0.1.0 lib/rails/generators/devape_cms/devape_cms_generator.rb
devape_cms-0.0.9 lib/rails/generators/devape_cms/devape_cms_generator.rb
devape_cms-0.0.8 lib/rails/generators/devape_cms/devape_cms_generator.rb
devape_cms-0.0.7 lib/rails/generators/devape_cms/devape_cms_generator.rb
devape_cms-0.0.6 lib/rails/generators/devape_cms/devape_cms_generator.rb
devape_cms-0.0.5 lib/rails/generators/devape_cms/devape_cms_generator.rb