Class: Alchemy::Generators::MenusGenerator
- Defined in:
- lib/generators/alchemy/menus/menus_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_partials ⇒ Object
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/generators/alchemy/menus/menus_generator.rb', line 11 def create_partials = Alchemy::Node. return unless .each do || conditional_template "wrapper.html.#{template_engine}", "app/views/alchemy/menus/#{}/_wrapper.html.#{template_engine}" conditional_template "node.html.#{template_engine}", "app/views/alchemy/menus/#{}/_node.html.#{template_engine}" end end |