Sha256: 4f6914dcbb3cf34dcd7730bf43d8b0a6c869bd261f2c27e3c3791199c64aca84

Contents?: true

Size: 319 Bytes

Versions: 3

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true
module SlashAdmin
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def install
        template 'install.erb',
                 'app/helpers/slash_admin/menu_helper.rb'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slash_admin-1.0.1 lib/generators/slash_admin/install/install_generator.rb
slash_admin-1.0 lib/generators/slash_admin/install/install_generator.rb
slash_admin-0.1.0 lib/generators/slash_admin/install/install_generator.rb