Sha256: 3e62dc03f5a50d4f0a0ea91539456a952bee66cf495e99bb4ff9f987c98b1ff7

Contents?: true

Size: 382 Bytes

Versions: 6

Compression:

Stored size: 382 Bytes

Contents

# -*- encoding : utf-8 -*-
module AbAdmin
  module Generators
    class CkeditorAssetsGenerator < Rails::Generators::Base
      desc 'Copy ckeditor assets to public (prevent it\'s long and buggy precompile)'

      source_root File.expand_path('../templates', __FILE__)

      def copy_assets
        directory 'ckeditor', 'public/javascripts/ckeditor'
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ab_admin-0.2.2 lib/generators/ab_admin/ckeditor_assets/ckeditor_assets_generator.rb
ab_admin-0.2.1 lib/generators/ab_admin/ckeditor_assets/ckeditor_assets_generator.rb
ab_admin-0.2.0 lib/generators/ab_admin/ckeditor_assets/ckeditor_assets_generator.rb
ab_admin-0.1.2 lib/generators/ab_admin/ckeditor_assets/ckeditor_assets_generator.rb
ab_admin-0.1.1 lib/generators/ab_admin/ckeditor_assets/ckeditor_assets_generator.rb
ab_admin-0.1.0 lib/generators/ab_admin/ckeditor_assets/ckeditor_assets_generator.rb