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.6.7 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.6 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.5 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.4 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.3 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.2 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.1 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.6.0 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.24 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.23 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.22 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.21 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.20 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.19 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.18 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.17 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.16 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.15 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.14 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.5.12 lib/generators/rocket_cms/layout_generator.rb