Sha256: c3a90b843d81bc7be058fe2cee59968f9a55565ddb76df8214a0a98cae622646

Contents?: true

Size: 447 Bytes

Versions: 11

Compression:

Stored size: 447 Bytes

Contents

module ActiveAdmin
  module Generators
    class AssetsGenerator < Rails::Generators::Base

      def self.source_root
        @_active_admin_source_root ||= File.expand_path("../templates", __FILE__)
      end

      def install_assets
        template 'active_admin.js.coffee', 'app/assets/javascripts/active_admin.js.coffee'
        template 'active_admin.css.scss',  'app/assets/stylesheets/active_admin.css.scss'
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
yousty-activeadmin-1.0.4.pre lib/generators/active_admin/assets/assets_generator.rb
yousty-activeadmin-1.0.3.pre lib/generators/active_admin/assets/assets_generator.rb
active_administration-0.0.3 lib/generators/active_admin/assets/assets_generator.rb
activeadministration-0.0.2 lib/generators/active_admin/assets/assets_generator.rb
active_administration-0.0.2 lib/generators/active_admin/assets/assets_generator.rb
activeadministration-0.0.1 lib/generators/active_admin/assets/assets_generator.rb
active_administration-0.0.1 lib/generators/active_admin/assets/assets_generator.rb
yousty-activeadmin-1.0.2.pre lib/generators/active_admin/assets/assets_generator.rb
yousty-activeadmin-1.0.1.pre lib/generators/active_admin/assets/assets_generator.rb
yousty-activeadmin-1.0.0.pre lib/generators/active_admin/assets/assets_generator.rb
aa-rails4-0.6.0 lib/generators/active_admin/assets/assets_generator.rb