Sha256: eb934f2e46afcfed11a5176b8f79c7c7f35891c0e547b9823f2c43df3bce9050

Contents?: true

Size: 407 Bytes

Versions: 4

Compression:

Stored size: 407 Bytes

Contents

module ActiveAdminMenu
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates", __FILE__)

      def copy_initializer_file
        template "initializer.rb", "config/initializers/active_admin_menu.rb"
      end

      def copy_config_file
        template "active_admin_menu.yml", "config/active_admin_menu.yml"
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_admin_menu-0.1.3 lib/generators/active_admin_menu/install_generator.rb
active_admin_menu-0.1.2 lib/generators/active_admin_menu/install_generator.rb
active_admin_menu-0.1.1 lib/generators/active_admin_menu/install_generator.rb
active_admin_menu-0.1.0 lib/generators/active_admin_menu/install_generator.rb