Sha256: 1dc5755492a1b427fc7fbc3123d63d5ade436e3cbb2f24096c8e5b312a8cbaa0

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

module Gemgento
  class ViewsGenerator < Rails::Generators::Base

    desc 'Copies migrations to your application.'
    def copy_views
      FileUtils.cp_r Gemgento::Engine.root.join('app', 'views'), Rails.application.root.join('app')
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gemgento-2.8.0 lib/generators/gemgento/views_generator.rb