Sha256: d07185aabde6519e606968395d0dfbb1b997a5a61ad2f4d654ed8bc908cbc92b

Contents?: true

Size: 362 Bytes

Versions: 13

Compression:

Stored size: 362 Bytes

Contents

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

      source_root File.expand_path('templates', __dir__)

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

    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
activeadmin-2.8.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.7.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.6.1 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.6.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.5.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.4.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.3.1 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.3.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.2.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.1.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.0.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.0.0.rc2 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.0.0.rc1 lib/generators/active_admin/assets/assets_generator.rb