Sha256: cb6818d225f3cc5421a0fbbccbd5a2d63de46ef1de0181238ac2ea2159cf61ec

Contents?: true

Size: 392 Bytes

Versions: 17

Compression:

Stored size: 392 Bytes

Contents

# frozen_string_literal: true
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

17 entries across 17 versions & 1 rubygems

Version Path
activeadmin-3.2.5 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-3.2.4 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-3.2.3 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-3.2.2 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-3.2.1 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-3.2.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-3.1.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-3.0.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.14.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.13.1 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.13.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.12.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.11.2 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.11.1 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.11.0 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.10.1 lib/generators/active_admin/assets/assets_generator.rb
activeadmin-2.10.0 lib/generators/active_admin/assets/assets_generator.rb