Sha256: f1bc74a1cee07bc1f1d5fc579925631ff1a2d6eebdfcdee0549eb4cb5f915746

Contents?: true

Size: 467 Bytes

Versions: 6

Compression:

Stored size: 467 Bytes

Contents

module Ecm
  module CmsCore
    module Generators
      class ActiveAdminGenerator < Rails::Generators::Base
        desc "Generates the active admin files"
             
        source_root File.expand_path('../templates', __FILE__)
      
        def generate_models
          copy_file "folders.rb", "app/admin/ecm/cms_core/folders.rb"
          copy_file "templates.rb", "app/admin/ecm/cms_core/templates.rb"
        end      
      end
    end
  end
end        

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ecm_cms_core-0.0.8 lib/generators/ecm/cms_core/active_admin/active_admin_generator.rb
ecm_cms_core-0.0.7 lib/generators/ecm/cms_core/active_admin/active_admin_generator.rb
ecm_cms_core-0.0.6 lib/generators/ecm/cms_core/active_admin/active_admin_generator.rb
ecm_cms_core-0.0.5 lib/generators/ecm/cms_core/active_admin/active_admin_generator.rb
ecm_cms_core-0.0.3 lib/generators/ecm/cms_core/active_admin/active_admin_generator.rb
ecm_cms_core-0.0.2 lib/generators/ecm/cms_core/active_admin/active_admin_generator.rb