Sha256: bde72c7203f44391400b3bb6118cf42dc1714e2cd8b24ce033e96e947f754028

Contents?: true

Size: 502 Bytes

Versions: 43

Compression:

Stored size: 502 Bytes

Contents

# frozen_string_literal: true

module Doorkeeper
  module Generators
    # Generates doorkeeper views for Rails application
    #
    class ViewsGenerator < ::Rails::Generators::Base
      source_root File.expand_path("../../../app/views", __dir__)

      desc "Copies default Doorkeeper views and layouts to your application."

      def manifest
        directory "doorkeeper", "app/views/doorkeeper"
        directory "layouts/doorkeeper", "app/views/layouts/doorkeeper"
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
doorkeeper-5.2.0.rc2 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.2.0.rc1 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.1.0 lib/generators/doorkeeper/views_generator.rb