Sha256: 83d89c6fd986b13ddb7ab23ebfd3c1a33288ee786620b8ae3ad815f84f284e54

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 Bytes

Contents

module Doorkeeper
  module Generators
    class ViewsGenerator < ::Rails::Generators::Base
      source_root File.expand_path('../../../../app/views/doorkeeper', __FILE__)

      desc "Copies default Doorkeeper views to your application."

      def manifest
        directory 'applications', 'app/views/doorkeeper/applications'
        directory 'authorizations', 'app/views/doorkeeper/authorizations'
        directory 'authorized_applications', 'app/views/doorkeeper/authorized_applications'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
couchkeeper-0.6.7 lib/generators/doorkeeper/views_generator.rb