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.8.1 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.8.0 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.7.1 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.7.0 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.9 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.8 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.7 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.6 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.5 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.4 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.3 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.2 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.1 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.0 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.0.rc2 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.6.0.rc1 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.5.4 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.5.3 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.5.2 lib/generators/doorkeeper/views_generator.rb
doorkeeper-5.5.1 lib/generators/doorkeeper/views_generator.rb