Sha256: 6d38e71884abe9c8dd05229fb3005857681c48928a23c489f478ddfbd659c46e

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

module Leather
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../../../../../app/views', __FILE__)

    def copy_views
      directory("devise", Rails.root.join("app", "views", "devise"))
    end

    def copy_ui_kit
      directory("pages", Rails.root.join("app", "views", "pages"))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leather-0.0.9 lib/generators/leather/install/install_generator.rb