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.24.0 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.22.0 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.21.1 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.21.0 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.20.1 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.20.0 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.19.8 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.19.7 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.19.6 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.19.4 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.19.3 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.19.2 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.19.1 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.19.0 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.18.5 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.18.4 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.18.3 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.18.2 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.18.1 lib/generators/rocket_cms/layout_generator.rb
rocket_cms-0.18.0 lib/generators/rocket_cms/layout_generator.rb