Class: Hancock::Cms::LayoutGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Hancock::Cms::LayoutGenerator
- Includes:
- Generators::Utils::InstanceMethods
- Defined in:
- lib/generators/hancock/cms/layout_generator.rb
Instance Method Summary collapse
Methods included from Generators::Utils::InstanceMethods
Instance Method Details
#layout ⇒ Object
10 11 12 |
# File 'lib/generators/hancock/cms/layout_generator.rb', line 10 def layout template('../app/views/layouts/application.html.slim', 'app/views/layouts/application.html.slim') end |