method
complex_template
complex_template(relative_source, relative_destination, template_options = {})
public
Hide source
# File railties/lib/rails_generator/commands.rb, line 310 def complex_template(relative_source, relative_destination, template_options = {}) options = template_options.dup options[:assigns] ||= {} options[:assigns]['template_for_inclusion'] = render_template_part(template_options) template(relative_source, relative_destination, options) end