Sha256: c1c60860dbb7696b234087fd533788ad6664ad768cbd58fd153709703ddd5d35

Contents?: true

Size: 317 Bytes

Versions: 29

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

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

      def override_admin
        template "admin.erb",
          "app/models/slash_admin/admin.rb"
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
slash_admin-1.5.11 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.10 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.9 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.8 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.7 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.6 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.5 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.4 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.3 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.2 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5.1 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.5 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.4.1 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.4 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.3.5 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.3.4 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.3.3 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.3.2 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.3.1 lib/generators/slash_admin/override_admin/override_admin_generator.rb
slash_admin-1.3.0 lib/generators/slash_admin/override_admin/override_admin_generator.rb