Sha256: 16d04df0c41b774375734f1085b6335f4cda9f87ad75cf0b415ac87fb1376912

Contents?: true

Size: 425 Bytes

Versions: 158

Compression:

Stored size: 425 Bytes

Contents

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

module RocketCms
  class LayoutGenerator < Rails::Generators::Base
    source_root File.expand_path("../../../..", __FILE__)
    include Generators::Utils::InstanceMethods
    
    desc 'RocketCMS Layout generator'
    def layout
      template('app/views/layouts/application.html.slim', 'app/views/layouts/application.html.slim')
    end
  end
end

Version data entries

158 entries across 158 versions & 2 rubygems

Version Path
ack_rocket_cms-0.7.5.2 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.15 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.14 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.5.1 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.13 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.5 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.4.1 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.4 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.12 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.3 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.2.4 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.2.3.2 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.2.3.1 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.2.3 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.11 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.2.2 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.10 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.2.1 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.9 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.8 lib/generators/rocket_cms/layout_generator.rb