Class: RocketCms::LayoutGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Generators::Utils::InstanceMethods
Defined in:
lib/generators/rocket_cms/layout_generator.rb

Instance Method Summary collapse

Methods included from Generators::Utils::InstanceMethods

#ask_for, #display

Instance Method Details

#layoutObject



10
11
12
# File 'lib/generators/rocket_cms/layout_generator.rb', line 10

def layout
  template('app/views/layouts/application.html.slim', 'app/views/layouts/application.html.slim')
end