Sha256: 6e8887858586e21e71bc7a57a5208b72b9402564fffa4397642d08603f455b66

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

module Comfy
  module Generators
    module Cms
      class ViewsGenerator < Rails::Generators::Base
        source_root File.expand_path(File.join(File.dirname(__FILE__), '../../../../app/views'))

        def generate_views
          directory 'comfy', 'app/views/comfy'
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfortable_media_surfer-3.0.0 lib/generators/comfy/cms/views_generator.rb