Sha256: ccf3ec33433f70ef4e069af5693b464093a1b7255b8a365acef78d20637695a3

Contents?: true

Size: 521 Bytes

Versions: 7

Compression:

Stored size: 521 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

7 entries across 7 versions & 1 rubygems

Version Path
doorkeeper-0.4.2 lib/generators/doorkeeper/views_generator.rb
doorkeeper-0.4.1 lib/generators/doorkeeper/views_generator.rb
doorkeeper-0.4.0 lib/generators/doorkeeper/views_generator.rb
doorkeeper-0.3.4 lib/generators/doorkeeper/views_generator.rb
doorkeeper-0.3.3 lib/generators/doorkeeper/views_generator.rb
doorkeeper-0.3.2 lib/generators/doorkeeper/views_generator.rb
doorkeeper-0.3.1 lib/generators/doorkeeper/views_generator.rb