Sha256: ccb978e442fe7dca7d06161272737daa45bd40383729623c90bcac81c946af1f

Contents?: true

Size: 524 Bytes

Versions: 1

Compression:

Stored size: 524 Bytes

Contents

module Node_Cms
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))

      def copy_config_file
        template 'node_cms_config.rb', 'config/initializers/node_cms_config.rb'
		directory "../../../../app/views/layouts/admin" , "app/views/layouts/admin"
		directory "../../../../app/views/devise" , "app/views/devise"
		directory "../../../../app/controllers/admin" , "app/controllers/admin"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
node_cms-0.0.2 lib/generators/node_cms/install_generator.rb