Sha256: ff871913d5f2155d658672f7ea34b340a9b8bac2585542144f98fc21f79441c5

Contents?: true

Size: 424 Bytes

Versions: 7

Compression:

Stored size: 424 Bytes

Contents

require 'rails/generators'
require File.expand_path('../utils', __FILE__)

module Enjoy::Cms
  class LayoutGenerator < Rails::Generators::Base
    source_root File.expand_path("../../../..", __FILE__)
    include Generators::Utils::InstanceMethods

    desc 'Enjoy CMS Layout generator'
    def layout
      template('../app/views/layouts/application.html.slim', 'app/views/layouts/application.html.slim')
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
enjoy_cms-0.4.1 lib/generators/enjoy/cms/layout_generator.rb
enjoy_cms-0.4.0.5 lib/generators/enjoy/cms/layout_generator.rb
enjoy_cms-0.4.0.4 lib/generators/enjoy/cms/layout_generator.rb
enjoy_cms-0.4.0.3 lib/generators/enjoy/cms/layout_generator.rb
enjoy_cms-0.4.0.2 lib/generators/enjoy/cms/layout_generator.rb
enjoy_cms-0.4.0.1 lib/generators/enjoy/cms/layout_generator.rb
enjoy_cms-0.4.0 lib/generators/enjoy/cms/layout_generator.rb