Sha256: f4cd99ab769cd11de1e606afbacc2f994587f151ebe508834597256aa5685f57

Contents?: true

Size: 446 Bytes

Versions: 10

Compression:

Stored size: 446 Bytes

Contents

# frozen_string_literal: true

require "rails/generators"

module GeoblacklightAdmin
  class ViewsGenerator < Rails::Generators::Base
    source_root File.expand_path("templates", __dir__)

    desc <<-DESCRIPTION
      This generator makes the following changes to your application:
       1. Creates an app/views/devise directory
    DESCRIPTION

    def create_views
      directory "devise", "app/views/devise", force: true
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
geoblacklight_admin-0.6.0 lib/generators/geoblacklight_admin/views_generator.rb
geoblacklight_admin-0.5.1 lib/generators/geoblacklight_admin/views_generator.rb
geoblacklight_admin-0.5.0 lib/generators/geoblacklight_admin/views_generator.rb
geoblacklight_admin-0.4.2 lib/generators/geoblacklight_admin/views_generator.rb
geoblacklight_admin-0.4.1 lib/generators/geoblacklight_admin/views_generator.rb
geoblacklight_admin-0.4.0 lib/generators/geoblacklight_admin/views_generator.rb
geoblacklight_admin-0.3.2 lib/generators/geoblacklight_admin/views_generator.rb
geoblacklight_admin-0.3.1 lib/generators/geoblacklight_admin/views_generator.rb
geoblacklight_admin-0.3.0 lib/generators/geoblacklight_admin/views_generator.rb
geoblacklight_admin-0.2.1 lib/generators/geoblacklight_admin/views_generator.rb