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
rocket_cms-0.8.1 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.8.0 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.8.0.pre.6 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.8.0.pre.5 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.8.0.pre.4 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.8.0.pre.3 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.8.0.pre.2 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.8.0.pre.1 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.7.1 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.7.1 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.7 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.6.4 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.6.3 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.6.2 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.6.1 lib/generators/rocket_cms/layout_generator.rb
ack_rocket_cms-0.7.6 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.7.0 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.18 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.17 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.16 lib/generators/rocket_cms/layout_generator.rb